aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching/utils
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/utils
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/utils')
-rw-r--r--main/src/cgeo/geocaching/utils/LogTemplateProvider.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/src/cgeo/geocaching/utils/LogTemplateProvider.java b/main/src/cgeo/geocaching/utils/LogTemplateProvider.java
index 04433c3..5fa0982 100644
--- a/main/src/cgeo/geocaching/utils/LogTemplateProvider.java
+++ b/main/src/cgeo/geocaching/utils/LogTemplateProvider.java
@@ -202,11 +202,11 @@ public final class LogTemplateProvider {
public String getValue(LogContext context) {
Trackable trackable = context.getTrackable();
if (trackable != null) {
- return trackable.getBrowserUrl();
+ return trackable.getUrl();
}
Geocache cache = context.getCache();
if (cache != null) {
- return cache.getBrowserUrl();
+ return cache.getUrl();
}
return StringUtils.EMPTY;
}