Spell checker fixes, narrowed scope / made less visible where possible. Little stuff
[zxing.git] / core / src / com / google / zxing / oned / ITFReader.java
index b3613ab..4b4de2e 100644 (file)
@@ -123,7 +123,7 @@ public final class ITFReader extends AbstractOneDReader {
    * @param resultString {@link StringBuffer} to append decoded chars to\r
    * @throws ReaderException if decoding could not complete successfully\r
    */\r
-  static void decodeMiddle(BitArray row, int payloadStart, int payloadEnd,\r
+  private static void decodeMiddle(BitArray row, int payloadStart, int payloadEnd,\r
       StringBuffer resultString) throws ReaderException {\r
 \r
     // Digits are interleaved in pairs - 5 black lines for one digit, and the\r
@@ -256,8 +256,8 @@ public final class ITFReader extends AbstractOneDReader {
       // ref: http://www.barcode-1.net/i25code.html\r
       validateQuietZone(row, endPattern[0]);\r
 \r
-      // Now recalc the indicies of where the 'endblock' starts & stops to\r
-      // accomodate\r
+      // Now recalculate the indices of where the 'endblock' starts & stops to\r
+      // accommodate\r
       // the reversed nature of the search\r
       int temp = endPattern[0];\r
       endPattern[0] = row.getSize() - endPattern[1];\r
@@ -265,7 +265,7 @@ public final class ITFReader extends AbstractOneDReader {
 \r
       return endPattern;\r
     } finally {\r
-      // Put the row back the righ way.\r
+      // Put the row back the right way.\r
       row.reverse();\r
     }\r
   }\r
@@ -279,7 +279,7 @@ public final class ITFReader extends AbstractOneDReader {
    *         ints\r
    * @throws ReaderException if pattern is not found\r
    */\r
-  static int[] findGuardPattern(BitArray row, int rowOffset, int[] pattern) throws ReaderException {\r
+  private static int[] findGuardPattern(BitArray row, int rowOffset, int[] pattern) throws ReaderException {\r
 \r
     // TODO: This is very similar to implementation in AbstractUPCEANReader. Consider if they can be\r
     // merged to a single method.\r