Small style stuff
[zxing.git] / core / src / com / google / zxing / qrcode / detector / FinderPatternInfo.java
index 10281cd..3c34010 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.
@@ -19,37 +19,30 @@ 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 {
+public 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;
+  public FinderPatternInfo(FinderPattern[] patternCenters) {
     this.bottomLeft = patternCenters[0];
     this.topLeft = patternCenters[1];
     this.topRight = patternCenters[2];
   }
 
-  float getRawEstimatedModuleSize() {
-    return rawEstimatedModuleSize;
-  }
-
-  FinderPattern getBottomLeft() {
+  public FinderPattern getBottomLeft() {
     return bottomLeft;
   }
 
-  FinderPattern getTopLeft() {
+  public FinderPattern getTopLeft() {
     return topLeft;
   }
 
-  FinderPattern getTopRight() {
+  public FinderPattern getTopRight() {
     return topRight;
   }