aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching/connector/ec
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2014-05-21 19:23:47 +0200
committerArne Schwabe <arne@rfc2549.org>2014-05-24 12:47:45 +0200
commitcadf1bb896976c5dc04cfd4b1615ad694fec3415 (patch)
treec9127c66b7af4af27f41fa886f5f9eb37a67f033 /main/src/cgeo/geocaching/connector/ec
parentb91529a6aaf8ac2460ec18cddcafc0d41f83f8b6 (diff)
downloadcgeo-cadf1bb896976c5dc04cfd4b1615ad694fec3415.zip
cgeo-cadf1bb896976c5dc04cfd4b1615ad694fec3415.tar.gz
cgeo-cadf1bb896976c5dc04cfd4b1615ad694fec3415.tar.bz2
Revert the url distinguistion from "Implement Android Beam (NFC Sharing) for cgeo", as it seems the // urls don't work anymore.
This partly reverts commit a0825983139c99a9799503cafdf0dd0e3ce54a2f.
Diffstat (limited to 'main/src/cgeo/geocaching/connector/ec')
-rw-r--r--main/src/cgeo/geocaching/connector/ec/ECConnector.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/src/cgeo/geocaching/connector/ec/ECConnector.java b/main/src/cgeo/geocaching/connector/ec/ECConnector.java
index ebc1a92..71716fe 100644
--- a/main/src/cgeo/geocaching/connector/ec/ECConnector.java
+++ b/main/src/cgeo/geocaching/connector/ec/ECConnector.java
@@ -68,7 +68,7 @@ public class ECConnector extends AbstractConnector implements ISearchByGeocode,
}
@Override
- public String getCacheBrowserUrl(@NonNull Geocache cache) {
+ public String getCacheUrl(@NonNull Geocache cache) {
return CACHE_URL + cache.getGeocode().replace("EC", "");
}
@@ -178,7 +178,7 @@ public class ECConnector extends AbstractConnector implements ISearchByGeocode,
@Override
public String getLicenseText(final @NonNull Geocache cache) {
// NOT TO BE TRANSLATED
- return "© " + cache.getOwnerDisplayName() + ", <a href=\"" + getCacheBrowserUrl(cache) + "\">" + getName() + "</a>, CC BY-NC-ND 3.0, alle Logeinträge © jeweiliger Autor";
+ return "© " + cache.getOwnerDisplayName() + ", <a href=\"" + getCacheUrl(cache) + "\">" + getName() + "</a>, CC BY-NC-ND 3.0, alle Logeinträge © jeweiliger Autor";
}
@Override