add missing space in DirectoryReader.toString

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@919119 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael McCandless 2010-03-04 18:40:37 +00:00
parent 67ed6e1811
commit da0de2c349
1 changed files with 5 additions and 2 deletions

View File

@ -308,8 +308,11 @@ class DirectoryReader extends IndexReader implements Cloneable {
}
buffer.append(getClass().getSimpleName());
buffer.append('(');
for(SegmentReader r : subReaders) {
buffer.append(r);
for(int i=0;i<subReaders.length;i++) {
if (i > 0) {
buffer.append(' ');
}
buffer.append(subReaders[i]);
}
buffer.append(')');
return buffer.toString();