You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by us...@apache.org on 2014/07/16 10:53:00 UTC

svn commit: r1610938 - /lucene/dev/trunk/lucene/core/src/test/org/apache/lucene/index/TestLazyProxSkipping.java

Author: uschindler
Date: Wed Jul 16 08:53:00 2014
New Revision: 1610938

URL: http://svn.apache.org/r1610938
Log:
Fix buggy test implementation (copypaste error)

Modified:
    lucene/dev/trunk/lucene/core/src/test/org/apache/lucene/index/TestLazyProxSkipping.java

Modified: lucene/dev/trunk/lucene/core/src/test/org/apache/lucene/index/TestLazyProxSkipping.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/core/src/test/org/apache/lucene/index/TestLazyProxSkipping.java?rev=1610938&r1=1610937&r2=1610938&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/core/src/test/org/apache/lucene/index/TestLazyProxSkipping.java (original)
+++ lucene/dev/trunk/lucene/core/src/test/org/apache/lucene/index/TestLazyProxSkipping.java Wed Jul 16 08:53:00 2014
@@ -230,7 +230,7 @@ public class TestLazyProxSkipping extend
 
           @Override
           public IndexInput slice(String sliceDescription, long offset, long length) throws IOException {
-            return new SeeksCountingStream(this.input.clone());
+            return new SeeksCountingStream(this.input.slice(sliceDescription, offset, length));
           }
     }
 }