From faf13d91d0d976310f1d3a000880b476f72fa980 Mon Sep 17 00:00:00 2001 From: Ash Date: Fri, 31 Mar 2017 16:27:34 +1100 Subject: [PATCH] Minor code cleanup, remove some Eclipse warnings --- .../ash/HIDToVPADNetworkClient/gui/GuiControllerListItem.java | 1 - .../HIDToVPADNetworkClient/manager/ActiveControllerManager.java | 1 - src/net/ash/HIDToVPADNetworkClient/network/Protocol.java | 1 - src/net/ash/HIDToVPADNetworkClient/network/TCPClient.java | 1 - 4 files changed, 4 deletions(-) diff --git a/src/net/ash/HIDToVPADNetworkClient/gui/GuiControllerListItem.java b/src/net/ash/HIDToVPADNetworkClient/gui/GuiControllerListItem.java index 98edf88..a7464ee 100644 --- a/src/net/ash/HIDToVPADNetworkClient/gui/GuiControllerListItem.java +++ b/src/net/ash/HIDToVPADNetworkClient/gui/GuiControllerListItem.java @@ -41,7 +41,6 @@ public class GuiControllerListItem extends JPanel implements ActionListener { @Getter private final Controller controller; private JCheckBox checkbox; - private boolean clicked = false; private boolean hasConfigCache = true; public GuiControllerListItem(Controller data) { diff --git a/src/net/ash/HIDToVPADNetworkClient/manager/ActiveControllerManager.java b/src/net/ash/HIDToVPADNetworkClient/manager/ActiveControllerManager.java index 8a8e6d9..dab7d96 100644 --- a/src/net/ash/HIDToVPADNetworkClient/manager/ActiveControllerManager.java +++ b/src/net/ash/HIDToVPADNetworkClient/manager/ActiveControllerManager.java @@ -31,7 +31,6 @@ import lombok.extern.java.Log; import net.ash.HIDToVPADNetworkClient.controller.Controller; import net.ash.HIDToVPADNetworkClient.network.NetworkHIDDevice; import net.ash.HIDToVPADNetworkClient.network.NetworkManager; -import net.ash.HIDToVPADNetworkClient.network.TCPClient; import net.ash.HIDToVPADNetworkClient.util.Settings; import net.ash.HIDToVPADNetworkClient.util.Utilities; diff --git a/src/net/ash/HIDToVPADNetworkClient/network/Protocol.java b/src/net/ash/HIDToVPADNetworkClient/network/Protocol.java index ea34c51..0966946 100644 --- a/src/net/ash/HIDToVPADNetworkClient/network/Protocol.java +++ b/src/net/ash/HIDToVPADNetworkClient/network/Protocol.java @@ -28,7 +28,6 @@ import java.nio.ByteBuffer; import java.util.List; import lombok.extern.java.Log; -import net.ash.HIDToVPADNetworkClient.network.Protocol.HandshakeReturnCode; import net.ash.HIDToVPADNetworkClient.network.commands.AttachCommand; import net.ash.HIDToVPADNetworkClient.network.commands.DetachCommand; import net.ash.HIDToVPADNetworkClient.network.commands.PingCommand; diff --git a/src/net/ash/HIDToVPADNetworkClient/network/TCPClient.java b/src/net/ash/HIDToVPADNetworkClient/network/TCPClient.java index df4b9e6..493c9c6 100644 --- a/src/net/ash/HIDToVPADNetworkClient/network/TCPClient.java +++ b/src/net/ash/HIDToVPADNetworkClient/network/TCPClient.java @@ -34,7 +34,6 @@ import lombok.Setter; import lombok.extern.java.Log; import net.ash.HIDToVPADNetworkClient.manager.ActiveControllerManager; import net.ash.HIDToVPADNetworkClient.network.Protocol.HandshakeReturnCode; -import net.ash.HIDToVPADNetworkClient.util.HandleFoundry; import net.ash.HIDToVPADNetworkClient.util.Settings; @Log