OpenJPA
  1. OpenJPA
  2. OPENJPA-1118

code changes towards broader use of JDK5 features

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.0
    • Fix Version/s: 2.0.0-beta3
    • Component/s: jdbc
    • Labels:
      None
    • Patch Info:
      Patch Available

      Description

      the current code of OpenJPA can be enhanced by:
      1.) replacing Numbers.valueOf( int ) and Numbers.valueOf( long ) by their conunterparts in Integer and Long, as well as replacing new Integer/Byte/Short/Long/Character by their factory-methods
      2.) replace StringBuffer by StringBuilder, replace .append( "x" ) by .append( 'x' ) where possible
      3.) use more generics ( in Iterators, for example)

      attached is a patch which contains 1.) for the below openjpa-jdbc/..

      1. OPENJPA-1118.diff.txt
        59 kB
        Michael Dick
      2. DvH090711Jira1118b.diff
        156 kB
        dieter von holten
      3. DvH090604a.diff
        171 kB
        dieter von holten

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

            • Assignee:
              Michael Dick
              Reporter:
              dieter von holten
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development