From 42df31c3fc704052fad8739a589a9fcfc7027ce5 Mon Sep 17 00:00:00 2001 From: UltimateHikari Date: Thu, 4 Nov 2021 17:17:53 +0700 Subject: [PATCH] optimize imports --- src/main/java/me/hikari/snakeclient/ctl/AnnounceWorker.java | 1 - src/main/java/me/hikari/snakeclient/ctl/CommWorker.java | 4 ---- src/main/java/me/hikari/snakeclient/ctl/ResendWorker.java | 5 ----- src/main/java/me/hikari/snakeclient/ctl/Sender.java | 1 - 4 files changed, 11 deletions(-) diff --git a/src/main/java/me/hikari/snakeclient/ctl/AnnounceWorker.java b/src/main/java/me/hikari/snakeclient/ctl/AnnounceWorker.java index 872209e..a714848 100644 --- a/src/main/java/me/hikari/snakeclient/ctl/AnnounceWorker.java +++ b/src/main/java/me/hikari/snakeclient/ctl/AnnounceWorker.java @@ -1,7 +1,6 @@ package me.hikari.snakeclient.ctl; import lombok.RequiredArgsConstructor; -import me.hikari.snakeclient.data.Player; import me.hikari.snakes.SnakesProto; import java.io.IOException; diff --git a/src/main/java/me/hikari/snakeclient/ctl/CommWorker.java b/src/main/java/me/hikari/snakeclient/ctl/CommWorker.java index 715d493..b3ef761 100644 --- a/src/main/java/me/hikari/snakeclient/ctl/CommWorker.java +++ b/src/main/java/me/hikari/snakeclient/ctl/CommWorker.java @@ -5,8 +5,6 @@ import lombok.Setter; import lombok.Synchronized; import lombok.extern.log4j.Log4j2; -import me.hikari.snakeclient.data.Peer; -import me.hikari.snakeclient.data.Player; import me.hikari.snakeclient.data.config.EngineConfig; import me.hikari.snakeclient.data.config.NetConfig; import me.hikari.snakes.SnakesProto; @@ -16,8 +14,6 @@ import java.net.DatagramSocket; import java.net.InetSocketAddress; import java.net.SocketException; -import java.util.LinkedList; -import java.util.List; @Getter @Setter diff --git a/src/main/java/me/hikari/snakeclient/ctl/ResendWorker.java b/src/main/java/me/hikari/snakeclient/ctl/ResendWorker.java index 617cb90..7d01990 100644 --- a/src/main/java/me/hikari/snakeclient/ctl/ResendWorker.java +++ b/src/main/java/me/hikari/snakeclient/ctl/ResendWorker.java @@ -1,13 +1,8 @@ package me.hikari.snakeclient.ctl; -import lombok.Getter; -import lombok.Setter; import lombok.Synchronized; import lombok.extern.log4j.Log4j2; -import me.hikari.snakeclient.data.Peer; -import me.hikari.snakeclient.data.Player; -import me.hikari.snakeclient.data.config.EngineConfig; import me.hikari.snakes.SnakesProto; import java.io.IOException; diff --git a/src/main/java/me/hikari/snakeclient/ctl/Sender.java b/src/main/java/me/hikari/snakeclient/ctl/Sender.java index e862811..af80373 100644 --- a/src/main/java/me/hikari/snakeclient/ctl/Sender.java +++ b/src/main/java/me/hikari/snakeclient/ctl/Sender.java @@ -2,7 +2,6 @@ import java.io.IOException; import java.net.DatagramPacket; -import java.net.SocketAddress; /** * CommWorker as seen from Resender perspective