Github user keith-turner commented on a diff in the pull request:

    https://github.com/apache/accumulo/pull/28#discussion_r28599024
  
    --- Diff: 
core/src/main/java/org/apache/accumulo/core/client/ClientSideIteratorScanner.java
 ---
    @@ -62,9 +62,24 @@
       private long readaheadThreshold = 
Constants.SCANNER_DEFAULT_READAHEAD_THRESHOLD;
     
       /**
    +   * @deprecated since 1.7.0 was never intended for public use.  However 
this could have been used by anything extending this class.
    +   */
    +  @Deprecated
    +  public class ScannerTranslator extends ScannerTranslatorImpl {
    +    public ScannerTranslator(Scanner scanner) {
    +      super(scanner);
    +    }
    +
    +    @Override
    +    public SortedKeyValueIterator<Key,Value> deepCopy(final 
IteratorEnvironment env) {
    +      return new ScannerTranslator(scanner);
    +    }
    +  }
    +
    +  /**
        * A class that wraps a Scanner in a SortedKeyValueIterator so that 
other accumulo iterators can use it as a source.
        */
    -  public class ScannerTranslator implements 
SortedKeyValueIterator<Key,Value> {
    +  private class ScannerTranslatorImpl implements 
SortedKeyValueIterator<Key,Value> {
    --- End diff --
    
    A few lines above this the following code exists.  
    
    ```
      @Deprecated
       public class ScannerTranslator extends ScannerTranslatorImpl {
    ```


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to