On Jan 11, 2004, at 5:50 PM, Leo Simons wrote:
I set out to improve test coverage in avalon-framework. I've already found 3 bugs :D. I need some input on Enum and ValuedEnum. I've never used them (enumerations are a code smell :D), but they should be fixed nonetheless.

I'm using them in my application's object model to model, well, enumerations :)


(such as fixed transaction types for modifying an inventory system, for example... there are uses!)

is this really desired behaviour, or should I go ahead and override equals() and hashCode() to take the value into account? Does anyone have code anywhere that depends on this behaviour?

+1 to fix. -pete


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to