Tightened a condition to reduce accidentally detecting the alignment pattern as a...
[zxing.git] / core / src / com / google / zxing / qrcode / detector / FinderPatternInfo.java
index df241cb..734f49e 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,27 +20,20 @@ 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)
+ * @author 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;
   }