vvysotskyi commented on a change in pull request #1397: DRILL-6633: Replace 
usage of Guava classes by JDK ones
URL: https://github.com/apache/drill/pull/1397#discussion_r210858864
 
 

 ##########
 File path: 
contrib/storage-hbase/src/main/java/org/apache/drill/exec/store/hbase/config/HBasePersistentStore.java
 ##########
 @@ -138,9 +137,11 @@ public synchronized void delete(String key) {
 
   @Override
   public Iterator<Entry<String, V>> getRange(int skip, int take) {
-    final Iterator<Entry<String, V>> iter = new Iter(take);
-    Iterators.advance(iter, skip);
-    return Iterators.limit(iter, take);
+    Iterable<Entry<String, V>> entries = () -> new Iter(take);
 
 Review comment:
   Thanks, done.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to