Refactoring

See github line by line comments in 'File changed'
This commit is contained in:
vraskulin 2016-12-29 15:38:22 +03:00
parent c526306c5b
commit 01bb9572e9
21 changed files with 31 additions and 34 deletions

View file

@ -158,10 +158,7 @@ public class Counter implements Serializable {
Counter counter = (Counter) o;
if (count != counter.count) {
return false;
}
return !(name != null ? !name.equals(counter.name) : counter.name != null);
return count == counter.count && !(name != null ? !name.equals(counter.name) : counter.name != null);
}