/**
* <p>Implements decoding of the EAN-8 format.</p>
*
- * @author srowen@google.com (Sean Owen)
+ * @author Sean Owen
*/
public final class EAN8Reader extends AbstractUPCEANReader {
- private int[] decodeMiddleCounters;
+ private final int[] decodeMiddleCounters;
public EAN8Reader() {
decodeMiddleCounters = new int[4];
}
- protected int decodeMiddle(BitArray row, int[] startRange, StringBuffer result) throws ReaderException {
+ protected int decodeMiddle(BitArray row, int[] startRange, StringBuffer result)
+ throws ReaderException {
int[] counters = decodeMiddleCounters;
counters[0] = 0;
counters[1] = 0;