Mercurial > hg > Applications > TreeVNC
diff src/main/java/com/glavsoft/rfb/protocol/ProtocolContext.java @ 334:dff2f92ae3ff
change lost left/right child to lost child.
author | oc |
---|---|
date | Thu, 05 Feb 2015 17:57:47 +0900 |
parents | 1a2ab6bd5ba3 |
children | cee43ceac9b3 |
line wrap: on
line diff
--- a/src/main/java/com/glavsoft/rfb/protocol/ProtocolContext.java Wed Feb 04 17:57:22 2015 +0900 +++ b/src/main/java/com/glavsoft/rfb/protocol/ProtocolContext.java Thu Feb 05 17:57:47 2015 +0900 @@ -98,8 +98,7 @@ NOT_FOUND_PARENT (226), NEW_NODE (227), QUIT_LOOP (228), - LOST_LEFT_CHILD (229), - LOST_RIGHT_CHILD (230); + LOST_CHILD(229); public final int cmd; TreeCommand(int cmd) { @@ -117,9 +116,8 @@ case 226: return NOT_FOUND_PARENT ; case 227: return NEW_NODE ; case 228: return QUIT_LOOP; - case 229: return LOST_LEFT_CHILD; - case 230: default: - return LOST_RIGHT_CHILD; + case 229: default: + return LOST_CHILD; } } }