summaryrefslogtreecommitdiffstats
path: root/core/tests
diff options
context:
space:
mode:
authorVasu Nori <vnori@google.com>2011-01-27 15:00:38 -0800
committerAndroid Git Automerger <android-git-automerger@android.com>2011-01-27 15:00:38 -0800
commit242fa0eb73d555eb025c39cf212030f00cb53cb4 (patch)
treec30d2031e593792ec90424592c8caeeb3314d34f /core/tests
parent57e7aa12d960cc20b2620b367be39e921f1a145d (diff)
parentce3b35a7b0b80061692d9fa1977cee68b365728c (diff)
downloadframeworks_base-242fa0eb73d555eb025c39cf212030f00cb53cb4.zip
frameworks_base-242fa0eb73d555eb025c39cf212030f00cb53cb4.tar.gz
frameworks_base-242fa0eb73d555eb025c39cf212030f00cb53cb4.tar.bz2
am ce3b35a7: Merge "bug:3398527 return List insttead of ArrayList from public API" into honeycomb
* commit 'ce3b35a7b0b80061692d9fa1977cee68b365728c': bug:3398527 return List insttead of ArrayList from public API
Diffstat (limited to 'core/tests')
-rw-r--r--core/tests/coretests/src/android/database/DatabaseGeneralTest.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/tests/coretests/src/android/database/DatabaseGeneralTest.java b/core/tests/coretests/src/android/database/DatabaseGeneralTest.java
index cd38bf0..6786700 100644
--- a/core/tests/coretests/src/android/database/DatabaseGeneralTest.java
+++ b/core/tests/coretests/src/android/database/DatabaseGeneralTest.java
@@ -37,6 +37,7 @@ import junit.framework.Assert;
import java.io.File;
import java.util.ArrayList;
import java.util.Arrays;
+import java.util.List;
import java.util.Locale;
public class DatabaseGeneralTest extends AndroidTestCase implements PerformanceTestCase {
@@ -1130,7 +1131,7 @@ public class DatabaseGeneralTest extends AndroidTestCase implements PerformanceT
assertTrue(new File(attachedDb1File).exists());
assertNotNull(dbObj);
assertTrue(dbObj.isOpen());
- ArrayList<Pair<String, String>> attachedDbs = dbObj.getAttachedDbs();
+ List<Pair<String, String>> attachedDbs = dbObj.getAttachedDbs();
try {
errorHandler.onCorruption(dbObj);
assertFalse(dbfile.exists());