openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rick Curtis (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (OPENJPA-2205) Performance - Method invokes inefficient Number constructor; use static valueOf instead
Date Thu, 20 Dec 2012 17:13:12 GMT

     [ https://issues.apache.org/jira/browse/OPENJPA-2205?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Rick Curtis updated OPENJPA-2205:
---------------------------------

      Priority: Minor  (was: Major)
    Issue Type: Improvement  (was: Bug)
    
> Performance - Method invokes inefficient Number constructor; use static valueOf instead
> ---------------------------------------------------------------------------------------
>
>                 Key: OPENJPA-2205
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-2205
>             Project: OpenJPA
>          Issue Type: Improvement
>          Components: Enhance
>    Affects Versions: 2.2.0
>            Reporter: James Carman
>            Priority: Minor
>
> We use Sonar and all of our enhanced classes cause this "critical" bug to come up.  I
believe it's found via FindBugs.
> The pcCopyKeyFieldsFromObjectId() method appears to be the offender here.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message