HBASE-11957 addendum 2; fix TestAssignmentManager

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

View File

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