diff options
| author | Samuel Tardieu <sam@rfc1149.net> | 2013-02-03 13:53:48 +0100 |
|---|---|---|
| committer | Samuel Tardieu <sam@rfc1149.net> | 2013-02-03 13:53:48 +0100 |
| commit | b53b6303ae321276d8c25d6a492372ac615580a2 (patch) | |
| tree | e756bbd1ac81d7117bfadde5c53bb8d5b72d9a85 /main/src/cgeo/geocaching/connector/GeopeitusConnector.java | |
| parent | 56106aba18200cd87bc4a51858bdf1125fe913af (diff) | |
| download | cgeo-b53b6303ae321276d8c25d6a492372ac615580a2.zip cgeo-b53b6303ae321276d8c25d6a492372ac615580a2.tar.gz cgeo-b53b6303ae321276d8c25d6a492372ac615580a2.tar.bz2 | |
Refactoring: rename cgCache into Geocache
Diffstat (limited to 'main/src/cgeo/geocaching/connector/GeopeitusConnector.java')
| -rw-r--r-- | main/src/cgeo/geocaching/connector/GeopeitusConnector.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/main/src/cgeo/geocaching/connector/GeopeitusConnector.java b/main/src/cgeo/geocaching/connector/GeopeitusConnector.java index c20b8f8..500f752 100644 --- a/main/src/cgeo/geocaching/connector/GeopeitusConnector.java +++ b/main/src/cgeo/geocaching/connector/GeopeitusConnector.java @@ -1,7 +1,7 @@ package cgeo.geocaching.connector; +import cgeo.geocaching.Geocache; import cgeo.geocaching.ICache; -import cgeo.geocaching.cgCache; import org.apache.commons.lang3.StringUtils; @@ -13,7 +13,7 @@ public class GeopeitusConnector extends AbstractConnector { } @Override - public String getCacheUrl(final cgCache cache) { + public String getCacheUrl(final Geocache cache) { return getCacheUrlPrefix() + StringUtils.stripStart(cache.getGeocode().substring(2), "0"); } |
