HBASE-1643 ScanDeleteTracker takes comparator but it unused
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@793124 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
99f1faf30b
commit
a621d508e9
@ -587,7 +587,7 @@ public class PerformanceEvaluation implements HConstants {
|
||||
byte [] b = new byte[10];
|
||||
int d = Math.abs(number);
|
||||
for (int i = b.length - 1; i >= 0; i--) {
|
||||
b[i] = (byte)((d % 10) + '0');
|
||||
b[i] = (byte)((d % 10) /*+ '0'*/);
|
||||
d /= 10;
|
||||
}
|
||||
return b;
|
||||
|
@ -33,7 +33,7 @@ public class TestScanDeleteTracker extends HBaseTestCase implements HConstants {
|
||||
private byte deleteType = 0;
|
||||
|
||||
public void setUp(){
|
||||
sdt = new ScanDeleteTracker(KeyValue.KEY_COMPARATOR);
|
||||
sdt = new ScanDeleteTracker();
|
||||
}
|
||||
|
||||
public void testDeletedBy_Delete() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user