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

code changes towards broader use of JDK5 features

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.0.0
    • 2.0.0-beta3
    • jdbc
    • None
    • 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/..

      Attachments

        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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            mikedd Michael Dick
            dvholten Dieter von Holten
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment