[
https://issues.apache.org/jira/browse/OPENJPA-2205?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
James Carman updated OPENJPA-2205:
----------------------------------
Description:
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.
was:
We use Sonar and all of our enhanced classes all cause this "critical" bug to
come up. I believe it's found via FindBugs.
The pcCopyKeyFieldsFromObjectId() method appears to be the offender here.
> 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: Bug
> Components: Enhance
> Affects Versions: 2.2.0
> Reporter: James Carman
>
> 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:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira