HBASE-11957 addendum 2; fix TestAssignmentManager
This commit is contained in:
parent
5aeec324e7
commit
dc5295df8c
|
@ -1127,7 +1127,7 @@ public class Bytes implements Comparable<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