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
|