aboutsummaryrefslogtreecommitdiff
path: root/src/org
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2019-02-23 12:13:47 -0800
committerAnton Tananaev <anton.tananaev@gmail.com>2019-02-23 12:13:47 -0800
commitf013bfab93b4a91c49bdfb4262ce187821d80a06 (patch)
treeb00fab3c9535b80e8733a4f5930b77020863e065 /src/org
parent7e239583698a169971f5bd817adbabdacba8dc56 (diff)
downloadtrackermap-server-f013bfab93b4a91c49bdfb4262ce187821d80a06.tar.gz
trackermap-server-f013bfab93b4a91c49bdfb4262ce187821d80a06.tar.bz2
trackermap-server-f013bfab93b4a91c49bdfb4262ce187821d80a06.zip
Remove else statement
Diffstat (limited to 'src/org')
-rw-r--r--src/org/traccar/MainModule.java6
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