"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "core/src/main/java/com/google/zxing/aztec/encoder/Token.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).

Token.java  (zxing-zxing-3.4.1):Token.java  (zxing-zxing-3.5.0)
skipping to change at line 37 skipping to change at line 37
Token(Token previous) { Token(Token previous) {
this.previous = previous; this.previous = previous;
} }
final Token getPrevious() { final Token getPrevious() {
return previous; return previous;
} }
final Token add(int value, int bitCount) { final Token add(int value, int bitCount) {
return new SimpleToken(this, value, bitCount); return new SimpleToken(this, value, bitCount);
} }
final Token addBinaryShift(int start, int byteCount) { final Token addBinaryShift(int start, int byteCount) {
//int bitCount = (byteCount * 8) + (byteCount <= 31 ? 10 : byteCount <= 62 ? 20 : 21); //int bitCount = (byteCount * 8) + (byteCount <= 31 ? 10 : byteCount <= 62 ? 20 : 21);
return new BinaryShiftToken(this, start, byteCount); return new BinaryShiftToken(this, start, byteCount);
} }
abstract void appendTo(BitArray bitArray, byte[] text); abstract void appendTo(BitArray bitArray, byte[] text);
} }
 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)