OpenJPA
  1. OpenJPA
  2. OPENJPA-2205

Performance - Method invokes inefficient Number constructor; use static valueOf instead

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.2.0
    • Fix Version/s: None
    • Component/s: Enhance
    • Labels:
      None

      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.

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            James Carman
          • Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:

              Development