You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by "Ralf Hauser (JIRA)" <ji...@apache.org> on 2006/05/20 19:59:30 UTC

[jira] Commented: (LANG-258) Enum JavaDoc: 1) outline 5.0 native Enum migration 2) warn not to use the switch() , 3) point out approaches for persistence and gui

    [ http://issues.apache.org/jira/browse/LANG-258?page=comments#action_12412643 ] 

Ralf Hauser commented on LANG-258:
----------------------------------

oops, referencing attempt 2: http://issues.apache.org/struts/browse/SB-20

> 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
>         Type: Improvement

>     Versions: 2.1
>  Environment: all
>     Reporter: Ralf Hauser

>
> 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: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org