diff options
author | Samuel Tardieu <sam@rfc1149.net> | 2012-04-22 00:43:21 +0200 |
---|---|---|
committer | Samuel Tardieu <sam@rfc1149.net> | 2012-04-22 00:43:21 +0200 |
commit | b4270c5a89005bb484f175e13cdce6264b650a51 (patch) | |
tree | 0236ad59fb3d4ba726899fbf0e42b6ba9470fc62 /main | |
parent | e1990789323d72cfd62f76de7892a9c7999b8ac1 (diff) | |
download | cgeo-b4270c5a89005bb484f175e13cdce6264b650a51.zip cgeo-b4270c5a89005bb484f175e13cdce6264b650a51.tar.gz cgeo-b4270c5a89005bb484f175e13cdce6264b650a51.tar.bz2 |
Refactoring: remove always empty cgTrackable#getError()
Diffstat (limited to 'main')
-rw-r--r-- | main/src/cgeo/geocaching/cgTrackable.java | 5 | ||||
-rw-r--r-- | main/src/cgeo/geocaching/cgeotrackable.java | 7 |
2 files changed, 0 insertions, 12 deletions
diff --git a/main/src/cgeo/geocaching/cgTrackable.java b/main/src/cgeo/geocaching/cgTrackable.java index f46e39b..7e283f8 100644 --- a/main/src/cgeo/geocaching/cgTrackable.java +++ b/main/src/cgeo/geocaching/cgTrackable.java @@ -17,7 +17,6 @@ public class cgTrackable implements ILogable { static final public int SPOTTED_UNKNOWN = 3; static final public int SPOTTED_OWNER = 4; - private String error = ""; private String guid = ""; private String geocode = ""; private String iconUrl = ""; @@ -51,10 +50,6 @@ public class cgTrackable implements ILogable { return "http://coord.info/" + geocode.toUpperCase(); } - public String getError() { - return error; - } - public String getGuid() { return guid; } diff --git a/main/src/cgeo/geocaching/cgeotrackable.java b/main/src/cgeo/geocaching/cgeotrackable.java index 923e420..9e7451a 100644 --- a/main/src/cgeo/geocaching/cgeotrackable.java +++ b/main/src/cgeo/geocaching/cgeotrackable.java @@ -49,13 +49,6 @@ public class cgeotrackable extends AbstractActivity { @Override public void handleMessage(Message msg) { - if (trackable != null && StringUtils.isNotBlank(trackable.getError())) { - showToast(res.getString(R.string.err_tb_details_download) + " " + trackable.getError() + "."); - - finish(); - return; - } - if (trackable == null) { if (waitDialog != null) { waitDialog.dismiss(); |