X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Fnet%2Fpterodactylus%2Ffcp%2FFcpConnectionHandler.java;h=36be1234c2d12fbd6f1a0000243e89ee8b7f5189;hb=a061300d59fefdb2cbac25d3ee1658fecc3d1cbf;hp=fcceec788c455183881b559c982509a032d6790c;hpb=a3955e82568dc1f9a5ee27acebaf59f6d658d910;p=jFCPlib.git diff --git a/src/main/java/net/pterodactylus/fcp/FcpConnectionHandler.java b/src/main/java/net/pterodactylus/fcp/FcpConnectionHandler.java index fcceec7..36be123 100644 --- a/src/main/java/net/pterodactylus/fcp/FcpConnectionHandler.java +++ b/src/main/java/net/pterodactylus/fcp/FcpConnectionHandler.java @@ -25,8 +25,6 @@ import java.nio.charset.Charset; import java.util.logging.Level; import java.util.logging.Logger; -import net.pterodactylus.util.logging.Logging; - /** * Handles an FCP connection to a node. * @@ -35,7 +33,7 @@ import net.pterodactylus.util.logging.Logging; class FcpConnectionHandler implements Runnable { /** The logger. */ - private static final Logger logger = Logging.getLogger(FcpConnectionHandler.class.getName()); + private static final Logger logger = Logger.getLogger(FcpConnectionHandler.class.getName()); /** The underlying connection. */ private final FcpConnection fcpConnection; @@ -66,6 +64,7 @@ class FcpConnectionHandler implements Runnable { /** * {@inheritDoc} */ + @Override public void run() { FcpMessage fcpMessage = null; Throwable throwable = null; @@ -100,7 +99,7 @@ class FcpConnectionHandler implements Runnable { } String field = line.substring(0, equalSign); String value = line.substring(equalSign + 1); - assert fcpMessage != null : "fcp message is null"; + assert fcpMessage != null: "fcp message is null"; fcpMessage.setField(field, value); } catch (IOException ioe1) { throwable = ioe1;