From b270cdde576c9f1d701e675a5bd7932e6e556fb4 Mon Sep 17 00:00:00 2001 From: Uwe Schindler Date: Wed, 16 Jul 2014 08:53:00 +0000 Subject: [PATCH] Fix buggy test implementation (copypaste error) git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1610938 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/test/org/apache/lucene/index/TestLazyProxSkipping.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lucene/core/src/test/org/apache/lucene/index/TestLazyProxSkipping.java b/lucene/core/src/test/org/apache/lucene/index/TestLazyProxSkipping.java index fb8189d841a..2af8ac31eb3 100644 --- a/lucene/core/src/test/org/apache/lucene/index/TestLazyProxSkipping.java +++ b/lucene/core/src/test/org/apache/lucene/index/TestLazyProxSkipping.java @@ -230,7 +230,7 @@ public class TestLazyProxSkipping extends LuceneTestCase { @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)); } } }