HBASE-11957 addendum 2; fix TestAssignmentManager
This commit is contained in:
parent
b58c66d596
commit
ae65975426
|
@ -920,7 +920,7 @@ public class Bytes {
|
|||
* @return the short value
|
||||
*/
|
||||
public static short toShort(byte[] bytes) {
|
||||
return toShortUnsafe(bytes, 0);
|
||||
return toShort(bytes, 0, SIZEOF_SHORT);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue