Issue Details (XML | Word | Printable)

Key: XSTR-419
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Joerg Schaible
Reporter: Will Johnson
Votes: 0
Watchers: 0
Operations

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

handle all Enums as immutable types

Created: 03/Aug/07 07:53 AM   Updated: 25/Feb/08 05:01 PM   Resolved: 11/Feb/08 04:39 PM
Component/s: Core
Affects Version/s: None
Fix Version/s: 1.3


 Description  « Hide

from Jörg on user thread:

"immutability is normally something that is a very special case tied to special classes. It's just that Enums represent a complete hierarchy of class types that should be treated in this way. Therefore I am more inclined to add something like this to the mappers directly."

in general it woudl be nice to handle all enum types as immutable classes so that references are not used.



Sort Order: Ascending order - Click to sort in descending order
Joerg Schaible added a comment - 11/Feb/08 04:39 PM

Implemented in head revision. You may give it a try.


Joerg Schaible added a comment - 25/Feb/08 05:01 PM

Closing issues before next release.