# HG changeset patch # User oc # Date 1404300884 -32400 # Node ID d7d367187d46684a319a752b16e0d2d2c61899d8 # Parent 7b106b4a0c9fd8f951cff86af6b924185039a8ab fix diff -r 7b106b4a0c9f -r d7d367187d46 src/main/java/jp/ac/u_ryukyu/treevnc/TreeVncCommand.java --- a/src/main/java/jp/ac/u_ryukyu/treevnc/TreeVncCommand.java Wed Jul 02 19:06:03 2014 +0900 +++ b/src/main/java/jp/ac/u_ryukyu/treevnc/TreeVncCommand.java Wed Jul 02 20:34:44 2014 +0900 @@ -43,18 +43,18 @@ public void handleTreeVncCommand() { switch (command) { - case FIND_ROOT_REPLY : - handleFindRootReply(port,hostname,myHostName); - break; + case FIND_ROOT_REPLY : + handleFindRootReply(port,hostname,myHostName); + break; case CONNECT_TO_AS_LEADER : handleConnectTo( port,hostname,myHostName,true,this.value); break; case CONNECT_TO : handleConnectTo( port,hostname,myHostName,false,this.value); break; - case FIND_ROOT : - // this is a multicast message, it is handled in FindRootListener - break; + case FIND_ROOT : + // this is a multicast message, it is handled in FindRootListener + break; case WHERE_TO_CONNECT : handleWhereToConnect(port,hostname, myHostName); break; @@ -66,9 +66,9 @@ break; case QUIT_LOOP: break; - default: - System.out.println("unknown treeVNC command" + command); - } + default: + System.out.println("unknown treeVNC command" + command); + } } /** @@ -113,7 +113,7 @@ * @param hostname */ void handleFindRootReply(int port, String hostname,String myHostname) { - rfb.addHostToSelectionPanel(port, hostname,myHostname); + rfb.addHostToSelectionPanel(port, hostname,myHostname); } /**