Uploaded image for project: 'OpenJPA'
  1. OpenJPA
  2. OPENJPA-2205

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 2.2.0
    • None
    • Enhance
    • 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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            jwcarman James Carman
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: