Modified some comments to reflect that these objects are thread-safe but not reentrant.
authordswitkin <dswitkin@59b500cc-1b3d-0410-9834-0bbf25fbcc57>
Mon, 22 Jun 2009 15:32:59 +0000 (15:32 +0000)
committerdswitkin <dswitkin@59b500cc-1b3d-0410-9834-0bbf25fbcc57>
Mon, 22 Jun 2009 15:32:59 +0000 (15:32 +0000)
git-svn-id: http://zxing.googlecode.com/svn/trunk@974 59b500cc-1b3d-0410-9834-0bbf25fbcc57

core/src/com/google/zxing/multi/qrcode/detector/MultiFinderPatternFinder.java
core/src/com/google/zxing/qrcode/detector/AlignmentPatternFinder.java
core/src/com/google/zxing/qrcode/detector/FinderPatternFinder.java

index 4588df5..a12f0ef 100644 (file)
@@ -34,8 +34,7 @@ import java.util.Vector;
  * <p>This class attempts to find finder patterns in a QR Code. Finder patterns are the square\r
  * markers at three corners of a QR Code.</p>\r
  *\r
- * <p>This class is not thread-safe and should not be reused.</p>\r
- * TODO(dswitkin): Is this comment still true? I don't see any global variables for example.\r
+ * <p>This class is thread-safe but not reentrant. Each thread must allocate its own object.\r
  *\r
  * <p>In contrast to {@link FinderPatternFinder}, this class will return an array of all possible\r
  * QR code locations in the image.</p>\r
index 9bc2423..25e312b 100644 (file)
@@ -32,8 +32,7 @@ import java.util.Vector;
  * pasted and stripped down here for maximum performance but does unfortunately duplicate\r
  * some code.</p>\r
  *\r
- * <p>This class is not thread-safe.</p>\r
- * TODO(dswitkin): Is this still true?\r
+ * <p>This class is thread-safe but not reentrant. Each thread must allocate its own object.\r
  *\r
  * @author Sean Owen\r
  */\r
index 23730bf..1540402 100755 (executable)
@@ -31,8 +31,7 @@ import java.util.Vector;
  * <p>This class attempts to find finder patterns in a QR Code. Finder patterns are the square\r
  * markers at three corners of a QR Code.</p>\r
  *\r
- * <p>This class is not thread-safe and should not be reused.</p>\r
- * TODO(dswitkin): Is this still true?\r
+ * <p>This class is thread-safe but not reentrant. Each thread must allocate its own object.\r
  *\r
  * @author Sean Owen\r
  */\r