HBASE-2740 NPE in ReadWriteConsistencyControl (build fix)

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@955800 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Ryan Rawson 2010-06-18 00:36:40 +00:00
parent 0beea3751b
commit 98a6a203c0
1 changed files with 6 additions and 10 deletions

View File

@ -378,9 +378,7 @@ public class TestStoreScanner extends TestCase {
};
public void testSkipColumn() throws IOException {
KeyValueScanner [] scanners = new KeyValueScanner[] {
new KeyValueScanFixture(KeyValue.COMPARATOR, kvs)
};
List<KeyValueScanner> scanners = scanFixture(kvs);
StoreScanner scan =
new StoreScanner(new Scan(), CF, Long.MAX_VALUE, KeyValue.COMPARATOR,
getCols("a", "d"), scanners);
@ -441,9 +439,7 @@ public class TestStoreScanner extends TestCase {
}
public void testScannerReseekDoesntNPE() throws Exception {
KeyValueScanner [] scanners = new KeyValueScanner[] {
new KeyValueScanFixture(KeyValue.COMPARATOR, kvs)
};
List<KeyValueScanner> scanners = scanFixture(kvs);
StoreScanner scan =
new StoreScanner(new Scan(), CF, Long.MAX_VALUE, KeyValue.COMPARATOR,
getCols("a", "d"), scanners);