Merge "Fix calcuation of CMD_TO_STRING_COUNT."
This commit is contained in:
@@ -150,7 +150,7 @@ public class AsyncChannel {
|
||||
*/
|
||||
public static final int CMD_CHANNEL_DISCONNECTED = BASE + 4;
|
||||
|
||||
private static final int CMD_TO_STRING_COUNT = CMD_CHANNEL_DISCONNECTED + 1;
|
||||
private static final int CMD_TO_STRING_COUNT = CMD_CHANNEL_DISCONNECTED - BASE + 1;
|
||||
private static String[] sCmdToString = new String[CMD_TO_STRING_COUNT];
|
||||
static {
|
||||
sCmdToString[CMD_CHANNEL_HALF_CONNECTED - BASE] = "CMD_CHANNEL_HALF_CONNECTED";
|
||||
|
||||
Reference in New Issue
Block a user