aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching/ui/LoggingUI.java
diff options
context:
space:
mode:
authorBananeweizen <Bananeweizen@gmx.de>2014-01-01 14:08:11 +0100
committerBananeweizen <Bananeweizen@gmx.de>2014-01-01 14:08:11 +0100
commit9bed9f046731e71f4ef79502ceec46f9502b4de2 (patch)
tree720a3d7653596bc48fb817cbc8bcbef7029af51c /main/src/cgeo/geocaching/ui/LoggingUI.java
parent08fde3648e575a7eead15bd830b4936451275e14 (diff)
downloadcgeo-9bed9f046731e71f4ef79502ceec46f9502b4de2.zip
cgeo-9bed9f046731e71f4ef79502ceec46f9502b4de2.tar.gz
cgeo-9bed9f046731e71f4ef79502ceec46f9502b4de2.tar.bz2
refactoring: remove bad default case statements
For methods returning directly from the switch case, at least Eclipse still needs a useless return value outside of the switch statement. This has been handled by IllegalStateExceptions after the switch.
Diffstat (limited to 'main/src/cgeo/geocaching/ui/LoggingUI.java')
-rw-r--r--main/src/cgeo/geocaching/ui/LoggingUI.java2
1 files changed, 0 insertions, 2 deletions
diff --git a/main/src/cgeo/geocaching/ui/LoggingUI.java b/main/src/cgeo/geocaching/ui/LoggingUI.java
index 30c719e..1423da2 100644
--- a/main/src/cgeo/geocaching/ui/LoggingUI.java
+++ b/main/src/cgeo/geocaching/ui/LoggingUI.java
@@ -105,8 +105,6 @@ public class LoggingUI extends AbstractUIFactory {
case CLEAR_LOG:
cache.clearOfflineLog();
break;
- default:
- throw new IllegalStateException();
}
} else {
cache.logOffline(activity, logTypeEntry.logType);