Revert "HBASE-18266 Create static empty byte array to save memory (Ben Epstein)"

Wrong JIRA number

This reverts commit e89baeaf93.
This commit is contained in:
Michael Stack 2017-07-03 19:48:44 -07:00
parent f2731fc241
commit 105331185c
1 changed files with 2 additions and 2 deletions

View File

@ -345,7 +345,7 @@ public class Put extends Mutation implements HeapSize, Comparable<Row> {
* existing KeyValue object in the family map.
*/
public boolean has(byte [] family, byte [] qualifier) {
return has(family, qualifier, this.ts, HConstants.EMPTY_BYTE_ARRAY, true, true);
return has(family, qualifier, this.ts, new byte[0], true, true);
}
/**
@ -360,7 +360,7 @@ public class Put extends Mutation implements HeapSize, Comparable<Row> {
* existing KeyValue object in the family map.
*/
public boolean has(byte [] family, byte [] qualifier, long ts) {
return has(family, qualifier, ts, HConstants.EMPTY_BYTE_ARRAY, false, true);
return has(family, qualifier, ts, new byte[0], false, true);
}
/**