Issue Details (XML | Word | Printable)

Key: LANG-258
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Unassigned
Reporter: Ralf Hauser
Votes: 0
Watchers: 0
Operations

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

Enum JavaDoc: 1) outline 5.0 native Enum migration 2) warn not to use the switch() , 3) point out approaches for persistence and gui

Created: 21/May/06 12:31 AM   Updated: 06/Feb/07 11:47 PM
Return to search
Component/s: None
Affects Version/s: 2.1
Fix Version/s: 2.3

Time Tracking:
Not Specified

Environment: all
Issue Links:
Reference
 

Resolution Date: 20/Oct/06 10:37 PM


 Description  « Hide
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!



 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Repository Revision Date User Message
ASF #441929 Sun Sep 10 08:04:17 UTC 2006 bayard Fixed javadoc typo as mentioned in #LANG-258
Files Changed
MODIFY /jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/enum/ValuedEnum.java
MODIFY /jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/enums/ValuedEnum.java