Fix the payload opcode values in Opcode.getOpcodeByValue

This commit is contained in:
Ben Gruver
2012-10-30 23:56:45 -07:00
parent 1c3a283ac3
commit b030b16785

View File

@ -337,9 +337,9 @@ public enum Opcode
public static Opcode getOpcodeByValue(int opcodeValue) {
switch (opcodeValue) {
case 0x100:
return SPARSE_SWITCH_PAYLOAD;
case 0x200:
return PACKED_SWITCH_PAYLOAD;
case 0x200:
return SPARSE_SWITCH_PAYLOAD;
case 0x300:
return ARRAY_PAYLOAD;
default: