"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "core/src/main/java/com/google/zxing/oned/rss/expanded/ExpandedRow.java" between
zxing-zxing-3.4.0.tar.gz and zxing-zxing-3.4.1.tar.gz

About: ZXing ("zebra crossing") is a multi-format 1D/2D barcode image processing library implemented in Java, with ports to other languages.

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

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)