aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/broadcast/BroadcastService.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-06-09 07:08:39 -0700
committerAnton Tananaev <anton@traccar.org>2022-06-09 07:08:39 -0700
commit4dbe47a2362bde8e2a8419b202a02e5e7fc16f87 (patch)
treefbc7dbdaa2316562f5aa4eeb0229f407a0d327af /src/main/java/org/traccar/broadcast/BroadcastService.java
parent12fe28bebbdbc61214363a9c7b51bd300ed62c15 (diff)
downloadtrackermap-server-4dbe47a2362bde8e2a8419b202a02e5e7fc16f87.tar.gz
trackermap-server-4dbe47a2362bde8e2a8419b202a02e5e7fc16f87.tar.bz2
trackermap-server-4dbe47a2362bde8e2a8419b202a02e5e7fc16f87.zip
Remove more from context
Diffstat (limited to 'src/main/java/org/traccar/broadcast/BroadcastService.java')
-rw-r--r--src/main/java/org/traccar/broadcast/BroadcastService.java2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/main/java/org/traccar/broadcast/BroadcastService.java b/src/main/java/org/traccar/broadcast/BroadcastService.java
index b17857fcd..26e38400b 100644
--- a/src/main/java/org/traccar/broadcast/BroadcastService.java
+++ b/src/main/java/org/traccar/broadcast/BroadcastService.java
@@ -22,7 +22,6 @@ import org.traccar.LifecycleObject;
import org.traccar.config.Config;
import org.traccar.config.Keys;
-import javax.inject.Inject;
import java.io.IOException;
import java.net.DatagramPacket;
import java.net.DatagramSocket;
@@ -46,7 +45,6 @@ public class BroadcastService implements LifecycleObject {
private final ExecutorService service = Executors.newSingleThreadExecutor();
private final byte[] receiverBuffer = new byte[4096];
- @Inject
public BroadcastService(Config config, ObjectMapper objectMapper) throws IOException {
this.objectMapper = objectMapper;
address = InetAddress.getByName(config.getString(Keys.BROADCAST_ADDRESS));