diff options
author | Vincent Breitmoser <valodim@mugenguild.com> | 2014-07-15 19:17:08 +0200 |
---|---|---|
committer | Vincent Breitmoser <valodim@mugenguild.com> | 2014-07-15 19:17:08 +0200 |
commit | 29145e49c96998f220485a8e46cd2b62665b00de (patch) | |
tree | bb561f91549d8a25c182f92722262467668c61d4 /OpenKeychain/src/main/java/org/sufficientlysecure/keychain/pgp | |
parent | 858fe47d4677d4c727d0696a2d683a349ad2ad3b (diff) | |
download | open-keychain-29145e49c96998f220485a8e46cd2b62665b00de.tar.gz open-keychain-29145e49c96998f220485a8e46cd2b62665b00de.tar.bz2 open-keychain-29145e49c96998f220485a8e46cd2b62665b00de.zip |
merge: different msg if nothing was merged
Diffstat (limited to 'OpenKeychain/src/main/java/org/sufficientlysecure/keychain/pgp')
-rw-r--r-- | OpenKeychain/src/main/java/org/sufficientlysecure/keychain/pgp/UncachedKeyRing.java | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/pgp/UncachedKeyRing.java b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/pgp/UncachedKeyRing.java index 691e867b2..9ddfd3405 100644 --- a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/pgp/UncachedKeyRing.java +++ b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/pgp/UncachedKeyRing.java @@ -748,8 +748,12 @@ public class UncachedKeyRing { } - log.add(LogLevel.DEBUG, LogType.MSG_MG_FOUND_NEW, - indent, Integer.toString(newCerts)); + if (newCerts > 0) { + log.add(LogLevel.DEBUG, LogType.MSG_MG_FOUND_NEW, indent, + Integer.toString(newCerts)); + } else { + log.add(LogLevel.DEBUG, LogType.MSG_MG_UNCHANGED, indent); + } return new UncachedKeyRing(result); |