lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephen Green <eelstretch...@gmail.com>
Subject Re: [jira] Commented: (LUCENE-2424) FieldDoc.toString only returns super.toString
Date Fri, 30 Apr 2010 13:31:02 GMT
On Fri, Apr 30, 2010 at 9:21 AM, Erick Erickson <erickerickson@gmail.com> wrote:
> 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....

Apparently not, given that I spotted this in the Lucene 2.9 branch and
it's still in the trunk :-)  At any rate, you're in the clear:  It
actually does use StringBuilder and I misspoke (misjira'd?)

I thought I was going crazy yesterday when a simple toString wasn't
working the way I expected!

Steve
-- 
Stephen Green
http://thesearchguy.wordpress.com

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message