diff options
author | Bananeweizen <bananeweizen@gmx.de> | 2015-01-26 21:00:28 +0100 |
---|---|---|
committer | Bananeweizen <bananeweizen@gmx.de> | 2015-01-26 21:00:28 +0100 |
commit | ac5a1d50862578e09d1d7e7c6c7d6d44ac414735 (patch) | |
tree | bf7143c3b87d54387da61c28932bd82d4f48297b /main/src/cgeo/geocaching/connector | |
parent | 0f0fd3e75d6cfeffd8ba0a3e26e269b0db2b17c7 (diff) | |
download | cgeo-ac5a1d50862578e09d1d7e7c6c7d6d44ac414735.zip cgeo-ac5a1d50862578e09d1d7e7c6c7d6d44ac414735.tar.gz cgeo-ac5a1d50862578e09d1d7e7c6c7d6d44ac414735.tar.bz2 |
fix #4634: export GPX for unknown crashes without crash
Diffstat (limited to 'main/src/cgeo/geocaching/connector')
-rw-r--r-- | main/src/cgeo/geocaching/connector/UnknownConnector.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/cgeo/geocaching/connector/UnknownConnector.java b/main/src/cgeo/geocaching/connector/UnknownConnector.java index 8ed1da4..fcf1152 100644 --- a/main/src/cgeo/geocaching/connector/UnknownConnector.java +++ b/main/src/cgeo/geocaching/connector/UnknownConnector.java @@ -16,7 +16,7 @@ class UnknownConnector extends AbstractConnector { @Override @NonNull public String getCacheUrl(@NonNull final Geocache cache) { - throw new IllegalStateException("getCacheUrl cannot be called on unknown caches"); + return StringUtils.EMPTY; } @Override |