From 651b52aff5dd2f3fa750251a6ffc0a2f77c7793c Mon Sep 17 00:00:00 2001 From: Ghost_chu Date: Wed, 8 Jan 2025 23:38:16 +0800 Subject: [PATCH] clean up --- .../ghostchu/peerbanhelper/downloaderplug/biglybt/Plugin.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/main/java/com/ghostchu/peerbanhelper/downloaderplug/biglybt/Plugin.java b/src/main/java/com/ghostchu/peerbanhelper/downloaderplug/biglybt/Plugin.java index 1d12870..c7cc138 100644 --- a/src/main/java/com/ghostchu/peerbanhelper/downloaderplug/biglybt/Plugin.java +++ b/src/main/java/com/ghostchu/peerbanhelper/downloaderplug/biglybt/Plugin.java @@ -12,7 +12,6 @@ import com.biglybt.pif.download.DownloadException; import com.biglybt.pif.download.DownloadStats; import com.biglybt.pif.ipfilter.IPBanned; -import com.biglybt.pif.ipfilter.IPFilter; import com.biglybt.pif.messaging.Message; import com.biglybt.pif.peers.*; import com.biglybt.pif.tag.Tag; @@ -370,7 +369,6 @@ public void handleBanListReplacement(Context ctx) { BanListReplacementBean replacementBean = ctx.bodyAsClass(BanListReplacementBean.class); AtomicInteger success = new AtomicInteger(); AtomicInteger failed = new AtomicInteger(); - IPFilter ipFilter = pluginInterface.getIPFilter(); banList.getIPv4Trie().clear(); banList.getIPv6Trie().clear(); for (String s : replacementBean.getReplaceWith()) {