I have a note to myself to use StringBuilder rather than StringBuffer if it's single threaded. Can't look at the code now, but thought I'd mention it...
May not matter a bit though since we probably don't spend much time here anyway.... Erick On Fri, Apr 30, 2010 at 5:34 AM, Michael McCandless (JIRA) <j...@apache.org>wrote: > > [ > https://issues.apache.org/jira/browse/LUCENE-2424?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12862607#action_12862607] > > Michael McCandless commented on LUCENE-2424: > -------------------------------------------- > > Woops, that's silly -- I'll commit shortly. Thanks Stephen! > > > FieldDoc.toString only returns super.toString > > --------------------------------------------- > > > > Key: LUCENE-2424 > > URL: https://issues.apache.org/jira/browse/LUCENE-2424 > > Project: Lucene - Java > > Issue Type: Bug > > Components: Search > > Affects Versions: 3.0.1 > > Environment: Mac OSX > > Reporter: Stephen Green > > Assignee: Michael McCandless > > Priority: Minor > > Attachments: LUCENE-2424.patch > > > > > > The FieldDoc.toString method very carefully builds a StringBuffer sb > containing the information for the FieldDoc instance and then just returns > super.toString() instead of sb.toString() > > -- > This message is automatically generated by JIRA. > - > You can reply to this email to add a comment to the issue online. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org > For additional commands, e-mail: dev-h...@lucene.apache.org > >