diff options
author | Anton Tananaev <anton@traccar.org> | 2022-06-04 06:50:50 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2022-06-04 06:50:50 -0700 |
commit | ea22ffb859f8bb8fa0a468af192fef395653d645 (patch) | |
tree | 959ceef93b645ae1573de1cf0eba86b657dec92c /src/main/java/org/traccar/Context.java | |
parent | ec76482c15094a7e04964c67d3011a7e8e1ad6a9 (diff) | |
download | trackermap-server-ea22ffb859f8bb8fa0a468af192fef395653d645.tar.gz trackermap-server-ea22ffb859f8bb8fa0a468af192fef395653d645.tar.bz2 trackermap-server-ea22ffb859f8bb8fa0a468af192fef395653d645.zip |
Remove more from context
Diffstat (limited to 'src/main/java/org/traccar/Context.java')
-rw-r--r-- | src/main/java/org/traccar/Context.java | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/main/java/org/traccar/Context.java b/src/main/java/org/traccar/Context.java index 6ee8344ce..eaf973659 100644 --- a/src/main/java/org/traccar/Context.java +++ b/src/main/java/org/traccar/Context.java @@ -55,7 +55,6 @@ import org.traccar.model.User; import org.traccar.notification.EventForwarder; import org.traccar.notification.NotificatorManager; import org.traccar.reports.model.TripsConfig; -import org.traccar.schedule.ScheduleManager; import org.traccar.sms.HttpSmsClient; import org.traccar.sms.SmsManager; import org.traccar.sms.SnsSmsClient; @@ -149,18 +148,6 @@ public final class Context { return webServer; } - private static ServerManager serverManager; - - public static ServerManager getServerManager() { - return serverManager; - } - - private static ScheduleManager scheduleManager; - - public static ScheduleManager getScheduleManager() { - return scheduleManager; - } - private static BroadcastService broadcastService; public static BroadcastService getBroadcastService() { @@ -316,9 +303,6 @@ public final class Context { initEventsModule(); - serverManager = new ServerManager(); - scheduleManager = new ScheduleManager(); - if (config.hasKey(Keys.BROADCAST_ADDRESS)) { broadcastService = new BroadcastService(config, objectMapper); } |