Various code tweaks and refactorings suggested by IntelliJ
[zxing.git] / core / src / com / google / zxing / qrcode / detector / FinderPatternInfo.java
index 8f5bc88..b8dfbaa 100644 (file)
 package com.google.zxing.qrcode.detector;
 
 /**
+ * <p>Encapsulates information about finder patterns in an image, including the location of
+ * the three finder patterns, and their estimated module size.</p>
+ *
  * @author srowen@google.com (Sean Owen)
  */
 final class FinderPatternInfo {
 
-  private final float rawEstimatedModuleSize;
   private final FinderPattern bottomLeft;
   private final FinderPattern topLeft;
   private final FinderPattern topRight;
 
-  FinderPatternInfo(float rawEstimatedModuleSize,
-                    FinderPattern[] patternCenters) {
-    this.rawEstimatedModuleSize = rawEstimatedModuleSize;
+  FinderPatternInfo(FinderPattern[] patternCenters) {
     this.bottomLeft = patternCenters[0];
     this.topLeft = patternCenters[1];
     this.topRight = patternCenters[2];
   }
 
-  float getRawEstimatedModuleSize() {
-    return rawEstimatedModuleSize;
-  }
-
   FinderPattern getBottomLeft() {
     return bottomLeft;
   }