Tiny code adjustments from inspection
[zxing.git] / core / src / com / google / zxing / pdf417 / decoder / BitMatrixParser.java
index dc27a8b..ca85e2f 100644 (file)
@@ -190,7 +190,7 @@ final class BitMatrixParser {
     for (int i = 0; i < width; i += MODULES_IN_SYMBOL) {\r
       for (int mask = MODULES_IN_SYMBOL - 1; mask >= 0; mask--) {\r
         if (rowCounters[i + (MODULES_IN_SYMBOL - 1 - mask)] >= rowHeight >>> 1) {\r
-          symbol |= 1 << mask;\r
+          symbol |= 1L << mask;\r
         }\r
       }\r
       if (columnNumber > 0) {\r
@@ -305,7 +305,7 @@ final class BitMatrixParser {
    * @param symbol\r
    * @return the codeword corresponding to the symbol.\r
    */\r
-  private int getCodeword(long symbol) {\r
+  private static int getCodeword(long symbol) {\r
     long sym = symbol;\r
     sym &= 0x3ffff;\r
     int i = findCodewordIndex(sym);\r