mirror of
https://github.com/zxing/zxing.git
synced 2024-11-10 13:04:05 -08:00
Tiny fix -- synchronized on arg, not list
git-svn-id: https://zxing.googlecode.com/svn/trunk@2133 59b500cc-1b3d-0410-9834-0bbf25fbcc57
This commit is contained in:
parent
29f5002aa6
commit
921ba43cb7
|
@ -181,7 +181,7 @@ public final class ViewfinderView extends View {
|
|||
|
||||
public void addPossibleResultPoint(ResultPoint point) {
|
||||
List<ResultPoint> points = possibleResultPoints;
|
||||
synchronized (point) {
|
||||
synchronized (points) {
|
||||
points.add(point);
|
||||
int size = points.size();
|
||||
if (size > MAX_RESULT_POINTS) {
|
||||
|
|
Loading…
Reference in a new issue