From 406f353e53039b4e4cbe35c320f0344e1a9aa731 Mon Sep 17 00:00:00 2001
From: dswitkin
Date: Mon, 22 Jun 2009 15:32:59 +0000
Subject: [PATCH] Modified some comments to reflect that these objects are
thread-safe but not reentrant.
git-svn-id: https://zxing.googlecode.com/svn/trunk@974 59b500cc-1b3d-0410-9834-0bbf25fbcc57
---
.../zxing/multi/qrcode/detector/MultiFinderPatternFinder.java | 3 +--
.../google/zxing/qrcode/detector/AlignmentPatternFinder.java | 3 +--
.../com/google/zxing/qrcode/detector/FinderPatternFinder.java | 3 +--
3 files changed, 3 insertions(+), 6 deletions(-)
diff --git a/core/src/com/google/zxing/multi/qrcode/detector/MultiFinderPatternFinder.java b/core/src/com/google/zxing/multi/qrcode/detector/MultiFinderPatternFinder.java
index 4588df540..a12f0ef8f 100644
--- a/core/src/com/google/zxing/multi/qrcode/detector/MultiFinderPatternFinder.java
+++ b/core/src/com/google/zxing/multi/qrcode/detector/MultiFinderPatternFinder.java
@@ -34,8 +34,7 @@ import java.util.Vector;
* This class attempts to find finder patterns in a QR Code. Finder patterns are the square
* markers at three corners of a QR Code.
*
- * This class is not thread-safe and should not be reused.
- * TODO(dswitkin): Is this comment still true? I don't see any global variables for example.
+ * This class is thread-safe but not reentrant. Each thread must allocate its own object.
*
*
In contrast to {@link FinderPatternFinder}, this class will return an array of all possible
* QR code locations in the image.
diff --git a/core/src/com/google/zxing/qrcode/detector/AlignmentPatternFinder.java b/core/src/com/google/zxing/qrcode/detector/AlignmentPatternFinder.java
index 9bc2423e0..25e312b20 100644
--- a/core/src/com/google/zxing/qrcode/detector/AlignmentPatternFinder.java
+++ b/core/src/com/google/zxing/qrcode/detector/AlignmentPatternFinder.java
@@ -32,8 +32,7 @@ import java.util.Vector;
* pasted and stripped down here for maximum performance but does unfortunately duplicate
* some code.
*
- * This class is not thread-safe.
- * TODO(dswitkin): Is this still true?
+ * This class is thread-safe but not reentrant. Each thread must allocate its own object.
*
* @author Sean Owen
*/
diff --git a/core/src/com/google/zxing/qrcode/detector/FinderPatternFinder.java b/core/src/com/google/zxing/qrcode/detector/FinderPatternFinder.java
index 23730bff0..154040269 100755
--- a/core/src/com/google/zxing/qrcode/detector/FinderPatternFinder.java
+++ b/core/src/com/google/zxing/qrcode/detector/FinderPatternFinder.java
@@ -31,8 +31,7 @@ import java.util.Vector;
*
This class attempts to find finder patterns in a QR Code. Finder patterns are the square
* markers at three corners of a QR Code.
*
- * This class is not thread-safe and should not be reused.
- * TODO(dswitkin): Is this still true?
+ * This class is thread-safe but not reentrant. Each thread must allocate its own object.
*
* @author Sean Owen
*/