ExpandedRow.java (zxing-zxing-3.4.0) | : | ExpandedRow.java (zxing-zxing-3.4.1) | ||
---|---|---|---|---|
skipping to change at line 64 | skipping to change at line 64 | |||
/** | /** | |||
* Two rows are equal if they contain the same pairs in the same order. | * Two rows are equal if they contain the same pairs in the same order. | |||
*/ | */ | |||
@Override | @Override | |||
public boolean equals(Object o) { | public boolean equals(Object o) { | |||
if (!(o instanceof ExpandedRow)) { | if (!(o instanceof ExpandedRow)) { | |||
return false; | return false; | |||
} | } | |||
ExpandedRow that = (ExpandedRow) o; | ExpandedRow that = (ExpandedRow) o; | |||
return this.pairs.equals(that.getPairs()) && wasReversed == that.wasReversed ; | return this.pairs.equals(that.pairs) && wasReversed == that.wasReversed; | |||
} | } | |||
@Override | @Override | |||
public int hashCode() { | public int hashCode() { | |||
return pairs.hashCode() ^ Boolean.valueOf(wasReversed).hashCode(); | return pairs.hashCode() ^ Boolean.valueOf(wasReversed).hashCode(); | |||
} | } | |||
} | } | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added |