"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "core/src/main/java/com/google/zxing/Dimension.java" between
zxing-zxing-3.4.1.tar.gz and zxing-zxing-3.5.0.tar.gz

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

Dimension.java  (zxing-zxing-3.4.1):Dimension.java  (zxing-zxing-3.5.0)
skipping to change at line 54 skipping to change at line 54
public boolean equals(Object other) { public boolean equals(Object other) {
if (other instanceof Dimension) { if (other instanceof Dimension) {
Dimension d = (Dimension) other; Dimension d = (Dimension) other;
return width == d.width && height == d.height; return width == d.width && height == d.height;
} }
return false; return false;
} }
@Override @Override
public int hashCode() { public int hashCode() {
return width * 32713 + height; return width * 32713 + height;
} }
@Override @Override
public String toString() { public String toString() {
return width + "x" + height; return width + "x" + height;
} }
} }
 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)