Merge pull request #67 from grimreaper/eax/no-dead-map-impl
[FixedOrderComparator] Simplify always false condition. ivar is final and initialized to a non-null value.
This commit is contained in:
commit
a5347ebe43
|
@ -257,7 +257,7 @@ public class FixedOrderComparator<T> implements Comparator<T>, Serializable {
|
||||||
@Override
|
@Override
|
||||||
public int hashCode() {
|
public int hashCode() {
|
||||||
int total = 17;
|
int total = 17;
|
||||||
total = total*37 + (map == null ? 0 : map.hashCode());
|
total = total*37 + map.hashCode();
|
||||||
total = total*37 + (unknownObjectBehavior == null ? 0 : unknownObjectBehavior.hashCode());
|
total = total*37 + (unknownObjectBehavior == null ? 0 : unknownObjectBehavior.hashCode());
|
||||||
total = total*37 + counter;
|
total = total*37 + counter;
|
||||||
total = total*37 + (isLocked ? 0 : 1);
|
total = total*37 + (isLocked ? 0 : 1);
|
||||||
|
|
Loading…
Reference in New Issue