aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-12-16 20:27:29 -0800
committerAnton Tananaev <anton@traccar.org>2022-12-16 20:27:29 -0800
commit1c791638d74998b4451b3c6290c04c46ecd1a9c5 (patch)
tree3d77ae5594094916ee19c27ba891ddd075cc2259 /src/main/java/org/traccar
parentbc2eb6ab65493a18b262ffe49fe79b540862c5db (diff)
downloadtrackermap-server-1c791638d74998b4451b3c6290c04c46ecd1a9c5.tar.gz
trackermap-server-1c791638d74998b4451b3c6290c04c46ecd1a9c5.tar.bz2
trackermap-server-1c791638d74998b4451b3c6290c04c46ecd1a9c5.zip
Remove finalizer
Diffstat (limited to 'src/main/java/org/traccar')
-rw-r--r--src/main/java/org/traccar/forward/EventForwarderKafka.java6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/main/java/org/traccar/forward/EventForwarderKafka.java b/src/main/java/org/traccar/forward/EventForwarderKafka.java
index db97d22de..e65c3a51b 100644
--- a/src/main/java/org/traccar/forward/EventForwarderKafka.java
+++ b/src/main/java/org/traccar/forward/EventForwarderKafka.java
@@ -43,12 +43,6 @@ public class EventForwarderKafka implements EventForwarder {
topic = config.getString(Keys.EVENT_FORWARD_TOPIC);
}
- @SuppressWarnings("deprecation")
- @Override
- protected void finalize() {
- producer.close();
- }
-
@Override
public void forward(EventData eventData, ResultHandler resultHandler) {
try {