Fix comparison for the Entry class

This commit is contained in:
Jakob Nixdorf 2017-07-03 10:35:48 +02:00
parent 44d1823c65
commit fca15fe068
No known key found for this signature in database
GPG key ID: BE99BF86574A7DBC

View file

@ -146,6 +146,7 @@ public class Entry {
Entry entry = (Entry) o;
if (!Arrays.equals(secret, entry.secret)) return false;
if (period != entry.period) return false;
return !(label != null ? !label.equals(entry.label) : entry.label != null);
}