Draft of 'thinking' visualization for barcode scanning. Works for 1D and QR codes.
[zxing.git] / core / src / com / google / zxing / oned / EAN8Reader.java
index 333eaec..bb80112 100644 (file)
@@ -23,17 +23,18 @@ import com.google.zxing.common.BitArray;
 /**
  * <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;