HBASE-11957 addendum 2; fix TestAssignmentManager

This commit is contained in:
Lars Hofhansl 2014-09-27 21:07:14 -07:00
parent 5aeec324e7
commit dc5295df8c
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}
/**