tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: svn commit: r937309 - in /tomcat/trunk/java/org/apache: catalina/realm/ catalina/session/ catalina/startup/ catalina/util/ tomcat/util/modeler/modules/
Date Fri, 23 Apr 2010 14:51:11 GMT
On 23/04/2010, markt@apache.org <markt@apache.org> wrote:
> Author: markt
>  Date: Fri Apr 23 14:23:45 2010
>  New Revision: 937309
>
>  URL: http://svn.apache.org/viewvc?rev=937309&view=rev
>  Log:
>  Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49143
>  Threading / initialisation issues. Not all were valid. Make them volatile anyway so
FindBugs doesn't complain.
>  Fix some additional issues - use of valueOf() - found along the way

BTW - we did some tests in Commons, and found that valueOf() is well
worth it for objects with a small range such as Boolean, Char, but
less so for Integer and Long, unless you know that most of the values
are in the cached ranges.

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


Mime
View raw message