From b0cadddc64f6de7a2592ec64743316ced54087cc Mon Sep 17 00:00:00 2001 From: Michael McCandless Date: Wed, 29 Jun 2011 22:31:27 +0000 Subject: [PATCH] add toString() git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1141295 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/java/org/apache/lucene/index/SegmentCoreReaders.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lucene/src/java/org/apache/lucene/index/SegmentCoreReaders.java b/lucene/src/java/org/apache/lucene/index/SegmentCoreReaders.java index 457707ac7bb..35f8f94fe32 100644 --- a/lucene/src/java/org/apache/lucene/index/SegmentCoreReaders.java +++ b/lucene/src/java/org/apache/lucene/index/SegmentCoreReaders.java @@ -199,4 +199,9 @@ final class SegmentCoreReaders { } } } + + @Override + public String toString() { + return "SegmentCoreReader(owner=" + owner + ")"; + } }