LUCENE-2424: fix silly bug in FieldDoc.toString

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@939611 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael McCandless 2010-04-30 09:50:46 +00:00
parent 90526f0ea1
commit bb69d0f207
2 changed files with 4 additions and 1 deletions

View File

@ -287,6 +287,9 @@ Bug fixes
consitently. Now they both take Directory and version into consideration.
(Shai Erera)
* LUCENE-2424: Fix FieldDoc.toString to actually return its fields
(Stephen Green via Mike McCandless)
New features
* LUCENE-2128: Parallelized fetching document frequencies during weight

View File

@ -70,6 +70,6 @@ public class FieldDoc extends ScoreDoc {
}
sb.setLength(sb.length() - 2); // discard last ", "
sb.append("]");
return super.toString();
return sb.toString();
}
}