diff options
author | Anton Tananaev <anton@traccar.org> | 2022-12-16 20:27:29 -0800 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2022-12-16 20:27:29 -0800 |
commit | 1c791638d74998b4451b3c6290c04c46ecd1a9c5 (patch) | |
tree | 3d77ae5594094916ee19c27ba891ddd075cc2259 /src | |
parent | bc2eb6ab65493a18b262ffe49fe79b540862c5db (diff) | |
download | trackermap-server-1c791638d74998b4451b3c6290c04c46ecd1a9c5.tar.gz trackermap-server-1c791638d74998b4451b3c6290c04c46ecd1a9c5.tar.bz2 trackermap-server-1c791638d74998b4451b3c6290c04c46ecd1a9c5.zip |
Remove finalizer
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/org/traccar/forward/EventForwarderKafka.java | 6 |
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 { |