[
https://issues.apache.org/jira/browse/OPENJPA-1118?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12842778#action_12842778
]
Donald Woods commented on OPENJPA-1118:
---------------------------------------
Mike, go for it. We have less than 2 weeks before we cut the 2.0.0 branch, so
lets get it in now so there is time to test against all DBs and the TCKs.
> code changes towards broader use of JDK5 features
> -------------------------------------------------
>
> Key: OPENJPA-1118
> URL: https://issues.apache.org/jira/browse/OPENJPA-1118
> Project: OpenJPA
> Issue Type: Improvement
> Components: jdbc
> Affects Versions: 2.0.0
> Reporter: dieter von holten
> Assignee: Michael Dick
> Priority: Minor
> Fix For: 2.0.0
>
> Attachments: DvH090604a.diff, DvH090711Jira1118b.diff,
> OPENJPA-1118.diff.txt
>
>
> 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/..
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.