HBASE-8351 Minor typo in Bytes IllegalArgumentException throw (Raymond Liu)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1468291 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
6d99781ddf
commit
a00785136b
|
@ -1404,7 +1404,7 @@ public class Bytes {
|
|||
throw new IllegalArgumentException("b <= a");
|
||||
}
|
||||
if (num <= 0) {
|
||||
throw new IllegalArgumentException("num cannot be < 0");
|
||||
throw new IllegalArgumentException("num cannot be <= 0");
|
||||
}
|
||||
byte [] prependHeader = {1, 0};
|
||||
final BigInteger startBI = new BigInteger(add(prependHeader, aPadded));
|
||||
|
|
Loading…
Reference in New Issue