@@ -72,7 +72,7 @@ public CompactorScanner(ObserverContext c,
7272 Client commitTableClient ,
7373 boolean isMajorCompaction ,
7474 boolean preserveNonTransactionallyDeletedCells ) throws IOException {
75- RegionCoprocessorEnvironment env = (RegionCoprocessorEnvironment )c .getEnvironment ();
75+ RegionCoprocessorEnvironment env = (RegionCoprocessorEnvironment )c .getEnvironment ();
7676 this .internalScanner = internalScanner ;
7777 this .commitTableClient = commitTableClient ;
7878 this .isMajorCompaction = isMajorCompaction ;
@@ -86,17 +86,20 @@ public CompactorScanner(ObserverContext c,
8686 }
8787
8888 @ Override
89+ // No generics to work around API change in HBase 3+
8990 public boolean next (List results ) throws IOException {
9091 return next (results , -1 );
9192 }
9293
9394 @ Override
95+ // No generics to work around API change in HBase 3+
9496 public boolean next (List result , ScannerContext scannerContext ) throws IOException {
9597 int limit = scannerContext .getBatchLimit ();
9698 return next (result , limit );
9799 }
98100
99- protected boolean next (List result , int limit ) throws IOException {
101+ // No generics to work around API change in HBase 3+
102+ protected boolean next (List result , int limit ) throws IOException {
100103
101104 if (currentRowWorthValues .isEmpty ()) {
102105 // 1) Read next row
0 commit comments