aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo
diff options
context:
space:
mode:
authorBananeweizen <bananeweizen@gmx.de>2012-09-09 08:16:10 +0200
committerBananeweizen <bananeweizen@gmx.de>2012-09-09 08:16:10 +0200
commite585fc7b3359c34a824841503c6bf1f54a4399d0 (patch)
tree3788e2e08699c57c27811ba638552dfe813d5ed9 /main/src/cgeo
parent6267592e861a7ccc436fa07e01a750baf1f8b270 (diff)
parent8601726b97432406a7ebaec849e6a1d991f2b6a4 (diff)
downloadcgeo-e585fc7b3359c34a824841503c6bf1f54a4399d0.zip
cgeo-e585fc7b3359c34a824841503c6bf1f54a4399d0.tar.gz
cgeo-e585fc7b3359c34a824841503c6bf1f54a4399d0.tar.bz2
Merge remote-tracking branch 'YraFyra/newUrl'
Diffstat (limited to 'main/src/cgeo')
-rw-r--r--main/src/cgeo/geocaching/cgTrackable.java2
-rw-r--r--main/src/cgeo/geocaching/cgWaypoint.java4
-rw-r--r--main/src/cgeo/geocaching/connector/gc/GCConnector.java2
3 files changed, 4 insertions, 4 deletions
diff --git a/main/src/cgeo/geocaching/cgTrackable.java b/main/src/cgeo/geocaching/cgTrackable.java
index 58c9529..1cf867b 100644
--- a/main/src/cgeo/geocaching/cgTrackable.java
+++ b/main/src/cgeo/geocaching/cgTrackable.java
@@ -48,7 +48,7 @@ public class cgTrackable implements ILogable {
return null;
}
}
- return "http://coord.info/" + geocode.toUpperCase();
+ return "http://www.geocaching.com/track/details.aspx?tracker=" + geocode.toUpperCase();
}
public String getGuid() {
diff --git a/main/src/cgeo/geocaching/cgWaypoint.java b/main/src/cgeo/geocaching/cgWaypoint.java
index af6bab5..2613514 100644
--- a/main/src/cgeo/geocaching/cgWaypoint.java
+++ b/main/src/cgeo/geocaching/cgWaypoint.java
@@ -156,7 +156,7 @@ public class cgWaypoint implements IWaypoint, Comparable<cgWaypoint> {
}
public String getUrl() {
- return "http://coord.info/" + geocode.toUpperCase();
+ return "http://www.geocaching.com/seek/cache_details.aspx?wp=" + geocode.toUpperCase();
}
@Override
@@ -242,4 +242,4 @@ public class cgWaypoint implements IWaypoint, Comparable<cgWaypoint> {
public String getCoordType() {
return "waypoint";
}
-} \ No newline at end of file
+}
diff --git a/main/src/cgeo/geocaching/connector/gc/GCConnector.java b/main/src/cgeo/geocaching/connector/gc/GCConnector.java
index 42ec663..0cfab2d 100644
--- a/main/src/cgeo/geocaching/connector/gc/GCConnector.java
+++ b/main/src/cgeo/geocaching/connector/gc/GCConnector.java
@@ -45,7 +45,7 @@ public class GCConnector extends AbstractConnector implements ISearchByGeocode,
@Override
public String getCacheUrl(cgCache cache) {
// it would also be possible to use "http://www.geocaching.com/seek/cache_details.aspx?wp=" + cache.getGeocode();
- return "http://coord.info/" + cache.getGeocode();
+ return "http://www.geocaching.com/seek/cache_details.aspx?wp=" + cache.getGeocode();
}
@Override