Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@www.apache.org Received: (qmail 1205 invoked from network); 21 Aug 2006 21:28:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 21 Aug 2006 21:28:24 -0000 Received: (qmail 61280 invoked by uid 500); 21 Aug 2006 21:28:20 -0000 Delivered-To: apmail-jakarta-commons-dev-archive@jakarta.apache.org Received: (qmail 61194 invoked by uid 500); 21 Aug 2006 21:28:20 -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 61163 invoked by uid 99); 21 Aug 2006 21:28:20 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Aug 2006 14:28:20 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Aug 2006 14:28:19 -0700 Received: from ajax.apache.org (localhost [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id B931BD4973 for ; Mon, 21 Aug 2006 22:27:58 +0100 (BST) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Apache Wiki To: commons-dev@jakarta.apache.org Date: Mon, 21 Aug 2006 21:27:58 -0000 Message-ID: <20060821212758.17583.86091@ajax.apache.org> Subject: [Jakarta-commons Wiki] Update of "Betwixt/TipsAndHints/Java5Enums" by JesseSweetland X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Dear Wiki user, You have subscribed to a wiki page or wiki category on "Jakarta-commons Wiki" for change notification. The following page has been changed by JesseSweetland: http://wiki.apache.org/jakarta-commons/Betwixt/TipsAndHints/Java5Enums ------------------------------------------------------------------------------ /** * @author Jesse Sweetland */ - public class EnumObjectStringConverter extends ObjectStringConverter { + public class EnumObjectStringConverter extends DefaultObjectStringConverter { public String objectToString(Object object, Class type, Context context) { String value = null; if(object instanceof Enum) { --------------------------------------------------------------------- To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-dev-help@jakarta.apache.org