Issue Details (XML | Word | Printable)

Key: NUCCORE-941
Type: Task Task
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Unassigned
Reporter: Andy Jefferson
Votes: 0
Watchers: 0

If you were logged in you would be able to see more operations.
DataNucleus Core

Change many metadata classes to enums (now that we are JDK1.5+)

Created: 28/Oct/12 10:34 AM   Updated: 28/Oct/12 05:31 PM   Resolved: 28/Oct/12 10:35 AM
Component/s: Code Structure
Affects Version/s: None
Fix Version/s: 3.2.0.m1

 Description  « Hide
When DN metadata was written we were aiming for JDK1.3+. We now aim for JDK1.5+ (and actually 1.6+ for RDBMS) so can change these to enums for simplicity of code.

Andy Jefferson added a comment - 28/Oct/12 10:35 AM
SVN trunk makes this change, and adds TODOs on the classes that we could not change (due to wanting to use switch statements with them, or needing extra info appending)

Andy Jefferson made changes - 28/Oct/12 10:35 AM
Field Original Value New Value
Status Open [ 1 ] Resolved [ 5 ]
Resolution Fixed [ 1 ]
Andy Jefferson made changes - 28/Oct/12 05:31 PM
Status Resolved [ 5 ] Closed [ 6 ]