aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching/connector/gc/GCParser.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 /main/src/cgeo/geocaching/connector/gc/GCParser.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 'main/src/cgeo/geocaching/connector/gc/GCParser.java')
-rw-r--r--main/src/cgeo/geocaching/connector/gc/GCParser.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/cgeo/geocaching/connector/gc/GCParser.java b/main/src/cgeo/geocaching/connector/gc/GCParser.java
index b54e00c..2117053 100644
--- a/main/src/cgeo/geocaching/connector/gc/GCParser.java
+++ b/main/src/cgeo/geocaching/connector/gc/GCParser.java
@@ -1631,7 +1631,7 @@ public abstract class GCParser {
//cache.setLogs(loadLogsFromDetails(page, cache, false));
if (Settings.isFriendLogsWanted()) {
CancellableHandler.sendLoadProgressDetail(handler, R.string.cache_dialog_loading_details_status_logs);
- LazyInitializedList<LogEntry> allLogs = cache.getLogs();
+ List<LogEntry> allLogs = cache.getLogs();
List<LogEntry> friendLogs = loadLogsFromDetails(page, cache, true, false);
if (friendLogs != null) {
for (LogEntry log : friendLogs) {