aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching/connector
diff options
context:
space:
mode:
authorMichael Keppler <bananeweizen@gmx.de>2014-06-07 08:42:50 +0200
committerMichael Keppler <bananeweizen@gmx.de>2014-06-07 08:42:50 +0200
commit12edf80c5f609613e346bc6db0762aa00f731044 (patch)
tree690816cfb43a09bc7868d66db8b9b68dcfef7809 /main/src/cgeo/geocaching/connector
parent2a86e7c2f18f29d40ef22c3a4c6f0e2ab87ae832 (diff)
downloadcgeo-12edf80c5f609613e346bc6db0762aa00f731044.zip
cgeo-12edf80c5f609613e346bc6db0762aa00f731044.tar.gz
cgeo-12edf80c5f609613e346bc6db0762aa00f731044.tar.bz2
cleanup: fix Java warnings
Diffstat (limited to 'main/src/cgeo/geocaching/connector')
-rw-r--r--main/src/cgeo/geocaching/connector/oc/OkapiClient.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/cgeo/geocaching/connector/oc/OkapiClient.java b/main/src/cgeo/geocaching/connector/oc/OkapiClient.java
index 96d3202..7d64b31 100644
--- a/main/src/cgeo/geocaching/connector/oc/OkapiClient.java
+++ b/main/src/cgeo/geocaching/connector/oc/OkapiClient.java
@@ -421,7 +421,7 @@ final class OkapiClient {
cache.setDifficulty((float) response.getDouble(CACHE_DIFFICULTY));
cache.setTerrain((float) response.getDouble(CACHE_TERRAIN));
- cache.setInventoryItems((int) response.getInt(CACHE_TRACKABLES_COUNT));
+ cache.setInventoryItems(response.getInt(CACHE_TRACKABLES_COUNT));
if (!response.isNull(CACHE_IS_FOUND)) {
cache.setFound(response.getBoolean(CACHE_IS_FOUND));