Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
2.0.0
-
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
Attachments
Issue Links
- is related to
-
OPENJPA-1050 Use generic types and remove casts wherever applicable
- Closed
-
OPENJPA-1171 Use StringBuilder instead of StringBuffer in SQLBuffer
- Closed
-
OPENJPA-1555 SQLBuffer code cleanup
- Closed