diff options
author | Vasu Nori <vnori@google.com> | 2011-01-27 10:52:55 -0800 |
---|---|---|
committer | Vasu Nori <vnori@google.com> | 2011-01-27 11:47:28 -0800 |
commit | a017edace756956cd4b4789a85316e3681d04a7e (patch) | |
tree | 1d1991b37dd5a418b861cdff682580bde68702c9 /core/tests/coretests | |
parent | 4b92aeec3faa459507f297ce49b2a2d4daaa4e47 (diff) | |
download | frameworks_base-a017edace756956cd4b4789a85316e3681d04a7e.zip frameworks_base-a017edace756956cd4b4789a85316e3681d04a7e.tar.gz frameworks_base-a017edace756956cd4b4789a85316e3681d04a7e.tar.bz2 |
bug:3398527 return List insttead of ArrayList from public API
Change-Id: Idbdcb59fe860a9168c9ef6c00eb128b05fce84ff
Diffstat (limited to 'core/tests/coretests')
-rw-r--r-- | core/tests/coretests/src/android/database/DatabaseGeneralTest.java | 3 |
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()); |