diff src/main/java/alice/daemon/IncomingTcpConnection.java @ 447:d30451d1882f dispose

fix IncomingUdpConnection and passed UdpTest
author sugi
date Mon, 27 Oct 2014 01:29:32 +0900
parents a91890dff56e
children 09a80f83c605
line wrap: on
line diff
--- a/src/main/java/alice/daemon/IncomingTcpConnection.java	Mon Oct 27 00:26:35 2014 +0900
+++ b/src/main/java/alice/daemon/IncomingTcpConnection.java	Mon Oct 27 01:29:32 2014 +0900
@@ -51,8 +51,8 @@
         }
         while (true) {
             try {
+                Command cmd = null;
                 byte[] val = null;
-                Command cmd = null;
                 CommandMessage msg = unpacker.read(CommandMessage.class);
                 CommandType type = CommandType.getCommandTypeFromId(msg.type);
                 switch (type) {