diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2019-02-23 12:13:47 -0800 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2019-02-23 12:13:47 -0800 |
commit | f013bfab93b4a91c49bdfb4262ce187821d80a06 (patch) | |
tree | b00fab3c9535b80e8733a4f5930b77020863e065 | |
parent | 7e239583698a169971f5bd817adbabdacba8dc56 (diff) | |
download | trackermap-server-f013bfab93b4a91c49bdfb4262ce187821d80a06.tar.gz trackermap-server-f013bfab93b4a91c49bdfb4262ce187821d80a06.tar.bz2 trackermap-server-f013bfab93b4a91c49bdfb4262ce187821d80a06.zip |
Remove else statement
-rw-r--r-- | src/org/traccar/MainModule.java | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/org/traccar/MainModule.java b/src/org/traccar/MainModule.java index 60f774544..967b9cd1f 100644 --- a/src/org/traccar/MainModule.java +++ b/src/org/traccar/MainModule.java @@ -53,9 +53,8 @@ public class MainModule extends AbstractModule { public static FilterHandler provideFilterHandler(Config config) { if (config.getBoolean(Keys.FILTER_ENABLE)) { return new FilterHandler(config); - } else { - return null; } + return null; } @Singleton @@ -64,9 +63,8 @@ public class MainModule extends AbstractModule { Config config, IdentityManager identityManager, ObjectMapper objectMapper, Client client) { if (config.getBoolean(Keys.FORWARD_ENABLE)) { return new WebDataHandler(config, identityManager, objectMapper, client); - } else { - return null; } + return null; } @Override |