Make passwords sort case insensitive (#290)

This commit is contained in:
Łukasz Rutkowski 2017-04-17 13:59:51 +02:00 committed by Mohamed Zenadi
parent e61a656c6c
commit 94c9b5be64

View file

@ -104,6 +104,6 @@ public class PasswordItem implements Comparable{
PasswordItem other = (PasswordItem) o;
// Appending the type will make the sort type dependent
return (this.getType() + this.getName())
.compareTo(other.getType() + other.getName());
.compareToIgnoreCase(other.getType() + other.getName());
}
}