aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src/cgeo/geocaching/test/mock/GC1ZXX2.java
diff options
context:
space:
mode:
authorSamuel Tardieu <sam@rfc1149.net>2013-02-03 14:40:52 +0100
committerSamuel Tardieu <sam@rfc1149.net>2013-02-03 14:45:35 +0100
commit5ddc2beec34023b94b0f3f6489dc16ba40271e4c (patch)
tree5e019b8745f3741e3d59e6562ba9a6719261c143 /tests/src/cgeo/geocaching/test/mock/GC1ZXX2.java
parent0f2eb5549ee2177ba1725213804dd712b740ef0b (diff)
downloadcgeo-5ddc2beec34023b94b0f3f6489dc16ba40271e4c.zip
cgeo-5ddc2beec34023b94b0f3f6489dc16ba40271e4c.tar.gz
cgeo-5ddc2beec34023b94b0f3f6489dc16ba40271e4c.tar.bz2
Restrict LazyInitializedList to the List interface
This way, we can use various types of list at various places without specifically needing a LazyInitializedList.
Diffstat (limited to 'tests/src/cgeo/geocaching/test/mock/GC1ZXX2.java')
-rw-r--r--tests/src/cgeo/geocaching/test/mock/GC1ZXX2.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/src/cgeo/geocaching/test/mock/GC1ZXX2.java b/tests/src/cgeo/geocaching/test/mock/GC1ZXX2.java
index e566ca2..035c7bc 100644
--- a/tests/src/cgeo/geocaching/test/mock/GC1ZXX2.java
+++ b/tests/src/cgeo/geocaching/test/mock/GC1ZXX2.java
@@ -5,11 +5,11 @@ import cgeo.geocaching.enumerations.CacheSize;
import cgeo.geocaching.enumerations.CacheType;
import cgeo.geocaching.enumerations.LogType;
import cgeo.geocaching.geopoint.Geopoint;
-import cgeo.geocaching.utils.LazyInitializedList;
import java.text.ParseException;
import java.util.Date;
import java.util.HashMap;
+import java.util.List;
import java.util.Map;
@@ -95,7 +95,7 @@ public class GC1ZXX2 extends MockedCache {
}
@Override
- public LazyInitializedList<String> getAttributes() {
+ public List<String> getAttributes() {
String[] attributes = new String[] {
"bicycles_yes",
"available_yes",