Small style stuff
[zxing.git] / core / src / com / google / zxing / datamatrix / decoder / Decoder.java
index 58f8c98..47ecac9 100644 (file)
@@ -73,7 +73,7 @@ public final class Decoder {
 \r
     // Construct a parser and read version, error-correction level\r
     BitMatrixParser parser = new BitMatrixParser(bits);\r
-    Version version = parser.readVersion(bits);\r
+    Version version = parser.getVersion();\r
 \r
     // Read codewords\r
     byte[] codewords = parser.readCodewords();\r