aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching/connector/ec/ECApi.java
diff options
context:
space:
mode:
authorBananeweizen <bananeweizen@gmx.de>2014-08-04 17:54:57 +0200
committerBananeweizen <bananeweizen@gmx.de>2014-08-04 17:54:57 +0200
commit6630ac7b85b2726df247c9fefa120e35e79dcd24 (patch)
tree25544584b0df505579a733386217028fde9996d4 /main/src/cgeo/geocaching/connector/ec/ECApi.java
parent34864892b3f9dd1ff775c0df3bae1c37adcedf3e (diff)
downloadcgeo-6630ac7b85b2726df247c9fefa120e35e79dcd24.zip
cgeo-6630ac7b85b2726df247c9fefa120e35e79dcd24.tar.gz
cgeo-6630ac7b85b2726df247c9fefa120e35e79dcd24.tar.bz2
refactoring: avoid optimization of TEMPORARY_LIST
Diffstat (limited to 'main/src/cgeo/geocaching/connector/ec/ECApi.java')
-rw-r--r--main/src/cgeo/geocaching/connector/ec/ECApi.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/cgeo/geocaching/connector/ec/ECApi.java b/main/src/cgeo/geocaching/connector/ec/ECApi.java
index 421d112..a0da825 100644
--- a/main/src/cgeo/geocaching/connector/ec/ECApi.java
+++ b/main/src/cgeo/geocaching/connector/ec/ECApi.java
@@ -161,7 +161,7 @@ public class ECApi {
}
try {
- return new GPX10Parser(StoredList.TEMPORARY_LIST_ID).parse(response.getEntity().getContent(), null);
+ return new GPX10Parser(StoredList.TEMPORARY_LIST.id).parse(response.getEntity().getContent(), null);
} catch (Exception e) {
Log.e("Error importing gpx from extremcaching.com", e);
return Collections.emptyList();