diff --git a/lucene/core/src/java/org/apache/lucene/store/ByteBuffersIndexInput.java b/lucene/core/src/java/org/apache/lucene/store/ByteBuffersIndexInput.java index 7c87d2489dd..7b899b08166 100644 --- a/lucene/core/src/java/org/apache/lucene/store/ByteBuffersIndexInput.java +++ b/lucene/core/src/java/org/apache/lucene/store/ByteBuffersIndexInput.java @@ -63,7 +63,7 @@ public final class ByteBuffersIndexInput extends IndexInput implements RandomAcc public ByteBuffersIndexInput slice(String sliceDescription, long offset, long length) throws IOException { ensureOpen(); return new ByteBuffersIndexInput(in.slice(offset, length), - "(sliced) offset=" + offset + ", length=" + length + " " + toString()); + "(sliced) offset=" + offset + ", length=" + length + " " + toString() + " [slice=" + sliceDescription + "]"); } @Override