From 405aba004475ca6b6be9d10b7379f6c9f91a1e86 Mon Sep 17 00:00:00 2001 From: srowen Date: Mon, 17 Nov 2008 17:53:05 +0000 Subject: [PATCH] Latent bug I think from earlier change to List from Vector git-svn-id: https://zxing.googlecode.com/svn/trunk@713 59b500cc-1b3d-0410-9834-0bbf25fbcc57 --- .../google/zxing/client/androidtest/BenchmarkActivity.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/androidtest/src/com/google/zxing/client/androidtest/BenchmarkActivity.java b/androidtest/src/com/google/zxing/client/androidtest/BenchmarkActivity.java index 2303c0e21..d168f6205 100755 --- a/androidtest/src/com/google/zxing/client/androidtest/BenchmarkActivity.java +++ b/androidtest/src/com/google/zxing/client/androidtest/BenchmarkActivity.java @@ -25,7 +25,7 @@ import android.view.View; import android.widget.Button; import android.widget.TextView; -import java.util.Vector; +import java.util.List; public final class BenchmarkActivity extends Activity { @@ -76,7 +76,7 @@ public final class BenchmarkActivity extends Activity { }; private void handleBenchmarkDone(Message message) { - Vector items = (Vector) message.obj; + List items = (List) message.obj; int count = 0; for (int x = 0; x < items.size(); x++) { BenchmarkItem item = items.get(x);