From 1bac2849b8ed8c5ab05e846c1e4b2e1aff5269aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dominik=20Sch=C3=BCrmann?= Date: Sun, 19 Jan 2014 00:00:56 +0100 Subject: improve performance of adapter implementations by caching index, use data uri where possible in ViewKeyActivity --- .../src/org/sufficientlysecure/keychain/pgp/PgpKeyHelper.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'OpenPGP-Keychain/src/org/sufficientlysecure/keychain/pgp/PgpKeyHelper.java') diff --git a/OpenPGP-Keychain/src/org/sufficientlysecure/keychain/pgp/PgpKeyHelper.java b/OpenPGP-Keychain/src/org/sufficientlysecure/keychain/pgp/PgpKeyHelper.java index edb30496a..8c1f35e4e 100644 --- a/OpenPGP-Keychain/src/org/sufficientlysecure/keychain/pgp/PgpKeyHelper.java +++ b/OpenPGP-Keychain/src/org/sufficientlysecure/keychain/pgp/PgpKeyHelper.java @@ -447,11 +447,11 @@ public class PgpKeyHelper { } default: { - algorithmStr = "???"; + algorithmStr = "Unknown"; break; } } - return algorithmStr + ", " + keySize + "bit"; + return algorithmStr + ", " + keySize + " bit"; } public static String convertFingerprintToHex(byte[] fp) { @@ -510,7 +510,7 @@ public class PgpKeyHelper { } /** - * TODO: what is the difference to the other function? + * TODO: documentation * * @param keyId * @return -- cgit v1.2.3