Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@www.apache.org Received: (qmail 59457 invoked from network); 10 Sep 2006 08:07:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 10 Sep 2006 08:07:03 -0000 Received: (qmail 98768 invoked by uid 500); 10 Sep 2006 08:07:02 -0000 Delivered-To: apmail-jakarta-commons-dev-archive@jakarta.apache.org Received: (qmail 98232 invoked by uid 500); 10 Sep 2006 08:07:01 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 98221 invoked by uid 99); 10 Sep 2006 08:07:01 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 10 Sep 2006 01:07:01 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 10 Sep 2006 01:07:00 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 5277E7142F0 for ; Sun, 10 Sep 2006 08:03:23 +0000 (GMT) Message-ID: <6119349.1157875403335.JavaMail.jira@brutus> Date: Sun, 10 Sep 2006 01:03:23 -0700 (PDT) From: "Henri Yandell (JIRA)" To: commons-dev@jakarta.apache.org Subject: [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 In-Reply-To: <31233472.1148146291477.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/LANG-258?page=comments#action_12433677 ] Henri Yandell commented on LANG-258: ------------------------------------ Fixed the doSomething javado typo in r441929. Will go with 2.2. > 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: commons-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-dev-help@jakarta.apache.org