commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Bourg <>
Subject Re: [configuration] Enum constants as keys
Date Sat, 24 Mar 2012 21:23:48 GMT
I agree with Oliver. I'm interested in exploring how annotations and 
enums could be applied to configurations, but I think it's also 
important to preserve the current flexibility of strings as keys.

The less intrusive change that comes to mind would be the use of an 
Object as the key instead of a String. This would simplify the syntax 
when enums are used as keys.

Emmanuel Bourg

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message