diff options
author | Dominik Schürmann <dominik@dominikschuermann.de> | 2014-04-19 21:56:15 +0200 |
---|---|---|
committer | Dominik Schürmann <dominik@dominikschuermann.de> | 2014-04-19 21:56:15 +0200 |
commit | 7017a01bdb68d2cd7351dfa05825676217e42532 (patch) | |
tree | 2e73c5d8027ce4b9e262baeaddf8b84a6297882f /OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/adapter/ImportKeysListServerLoader.java | |
parent | 0383822585e60bd206742f50966bb1584ee2dfd9 (diff) | |
download | open-keychain-7017a01bdb68d2cd7351dfa05825676217e42532.tar.gz open-keychain-7017a01bdb68d2cd7351dfa05825676217e42532.tar.bz2 open-keychain-7017a01bdb68d2cd7351dfa05825676217e42532.zip |
More code cleanup
Diffstat (limited to 'OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/adapter/ImportKeysListServerLoader.java')
-rw-r--r-- | OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/adapter/ImportKeysListServerLoader.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/adapter/ImportKeysListServerLoader.java b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/adapter/ImportKeysListServerLoader.java index 259e14319..838aeefee 100644 --- a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/adapter/ImportKeysListServerLoader.java +++ b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/adapter/ImportKeysListServerLoader.java @@ -101,7 +101,7 @@ public class ImportKeysListServerLoader String fingerprint = query.substring(2); Log.d(Constants.TAG, "fingerprint: " + fingerprint); // query must return only one result! - if (searchResult.size() > 0) { + if (searchResult.size() == 1) { ImportKeysListEntry uniqueEntry = searchResult.get(0); /* * set fingerprint explicitly after query |