diff options
-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 |