[findbugs] Method invokes inefficient Number constructor; use static valueOf
instead
------------------------------------------------------------------------------------
Key: JRUBY-4280
URL: http://jira.codehaus.org/browse/JRUBY-4280
Project: JRuby
Issue Type: Improvement
Components: Performance
Affects Versions: JRuby 1.4
Environment: github trunk, Java 6, Mac OS X 10.6.2
Reporter: Hiro Asari
Fix For: JRuby 1.5
Attachments:
0001-findbugs-Method-invokes-inefficient-Number-construct.patch
findbugs warns:
DM_NUMBER_CTOR: Method invokes inefficient Number constructor; use static
valueOf instead
I picked up all such warnings except the ones from the parsers. I *think* the
parser code is generated, but I don't know enough about how this might be
happening.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email