MultiFormatOneDReader.java (zxing-zxing-3.4.1) | : | MultiFormatOneDReader.java (zxing-zxing-3.5.0) | ||
---|---|---|---|---|
skipping to change at line 67 | skipping to change at line 67 | |||
if (possibleFormats.contains(BarcodeFormat.CODE_39)) { | if (possibleFormats.contains(BarcodeFormat.CODE_39)) { | |||
readers.add(new Code39Reader(useCode39CheckDigit)); | readers.add(new Code39Reader(useCode39CheckDigit)); | |||
} | } | |||
if (possibleFormats.contains(BarcodeFormat.CODE_93)) { | if (possibleFormats.contains(BarcodeFormat.CODE_93)) { | |||
readers.add(new Code93Reader()); | readers.add(new Code93Reader()); | |||
} | } | |||
if (possibleFormats.contains(BarcodeFormat.CODE_128)) { | if (possibleFormats.contains(BarcodeFormat.CODE_128)) { | |||
readers.add(new Code128Reader()); | readers.add(new Code128Reader()); | |||
} | } | |||
if (possibleFormats.contains(BarcodeFormat.ITF)) { | if (possibleFormats.contains(BarcodeFormat.ITF)) { | |||
readers.add(new ITFReader()); | readers.add(new ITFReader()); | |||
} | } | |||
if (possibleFormats.contains(BarcodeFormat.CODABAR)) { | if (possibleFormats.contains(BarcodeFormat.CODABAR)) { | |||
readers.add(new CodaBarReader()); | readers.add(new CodaBarReader()); | |||
} | } | |||
if (possibleFormats.contains(BarcodeFormat.RSS_14)) { | if (possibleFormats.contains(BarcodeFormat.RSS_14)) { | |||
readers.add(new RSS14Reader()); | readers.add(new RSS14Reader()); | |||
} | } | |||
if (possibleFormats.contains(BarcodeFormat.RSS_EXPANDED)) { | if (possibleFormats.contains(BarcodeFormat.RSS_EXPANDED)) { | |||
readers.add(new RSSExpandedReader()); | readers.add(new RSSExpandedReader()); | |||
} | } | |||
} | } | |||
if (readers.isEmpty()) { | if (readers.isEmpty()) { | |||
readers.add(new MultiFormatUPCEANReader(hints)); | readers.add(new MultiFormatUPCEANReader(hints)); | |||
readers.add(new Code39Reader()); | readers.add(new Code39Reader()); | |||
readers.add(new CodaBarReader()); | readers.add(new CodaBarReader()); | |||
readers.add(new Code93Reader()); | readers.add(new Code93Reader()); | |||
End of changes. 3 change blocks. | ||||
3 lines changed or deleted | 3 lines changed or added |