[ http://issues.apache.org/jira/browse/LANG-258?page=comments#action_12443955 ] Henri Yandell commented on LANG-258: ------------------------------------
SB-20 => https://issues.apache.org/struts/browse/STR-2943 If someone with experience in using the Enum classes in MVC/GUI scenarios has comments, it'd be great to get them in the user guide/javadoc; but in the meantime I'm not going to do anything with respect to that part of the above. > Enum JavaDoc: 1) outline 5.0 native Enum migration 2) warn not to use the > switch() , 3) point out approaches for persistence and gui > ------------------------------------------------------------------------------------------------------------------------------------ > > Key: LANG-258 > URL: http://issues.apache.org/jira/browse/LANG-258 > Project: Commons Lang > Issue Type: Improvement > Affects Versions: 2.1 > Environment: all > Reporter: Ralf Hauser > Fix For: 2.3 > > > http://jakarta.apache.org/commons/lang/api/org/apache/commons/lang/enums/Enum.html > is great! > Now that Jdk5.0 has its own approach for type-safe enums, would it be great > to provide a few sentences > - whether they simply should co-habit? > - how one would best migrate? > - where the concepts are different > Also, it would be great to provide some hints how to work on the with a > MVC/GUI framework - see SB-20. > also, > http://jakarta.apache.org/commons/lang/api/org/apache/commons/lang/enums/ValuedEnum.html > has a minor typo > it says "doSomething(JavaVersion", but should say > "doSomething(JavaVersionEnum" > also, it should contain a big warning that by using switch(), one opens up > for type-unsafety! -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]