Enable DataMatrix in the web app / other small tweaks
[zxing.git] / core / src / com / google / zxing / qrcode / decoder / FormatInformation.java
index aaa6060..299768c 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2007 Google Inc.
+ * Copyright 2007 ZXing authors
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -20,7 +20,7 @@ package com.google.zxing.qrcode.decoder;
  * <p>Encapsulates a QR Code's format information, including the data mask used and
  * error correction level.</p>
  *
- * @author srowen@google.com (Sean Owen)
+ * @author Sean Owen
  * @see DataMask
  * @see ErrorCorrectionLevel
  */
@@ -31,7 +31,7 @@ final class FormatInformation {
   /**
    * See ISO 18004:2006, Annex C, Table C.1
    */
-  private static final int[][] FORMAT_INFO_DECODE_LOOKUP = new int[][]{
+  private static final int[][] FORMAT_INFO_DECODE_LOOKUP = {
       {0x5412, 0x00},
       {0x5125, 0x01},
       {0x5E7C, 0x02},
@@ -70,7 +70,7 @@ final class FormatInformation {
    * Offset i holds the number of 1 bits in the binary representation of i
    */
   private static final int[] BITS_SET_IN_HALF_BYTE =
-      new int[]{0, 1, 1, 2, 1, 2, 2, 3, 1, 2, 2, 3, 2, 3, 3, 4};
+      {0, 1, 1, 2, 1, 2, 2, 3, 1, 2, 2, 3, 2, 3, 3, 4};
 
   private final ErrorCorrectionLevel errorCorrectionLevel;
   private final byte dataMask;