From adffaces-issues-return-652-apmail-incubator-adffaces-issues-archive=incubator.apache.org@incubator.apache.org Wed Aug 09 17:44:10 2006 Return-Path: Delivered-To: apmail-incubator-adffaces-issues-archive@locus.apache.org Received: (qmail 52441 invoked from network); 9 Aug 2006 17:44:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 9 Aug 2006 17:44:09 -0000 Received: (qmail 62488 invoked by uid 500); 9 Aug 2006 17:44:05 -0000 Delivered-To: apmail-incubator-adffaces-issues-archive@incubator.apache.org Received: (qmail 62418 invoked by uid 500); 9 Aug 2006 17:44:04 -0000 Mailing-List: contact adffaces-issues-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: adffaces-issues@incubator.apache.org Delivered-To: mailing list adffaces-issues@incubator.apache.org Received: (qmail 62290 invoked by uid 99); 9 Aug 2006 17:44:03 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Aug 2006 10:44:03 -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; Wed, 09 Aug 2006 10:44:01 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 67E6A7141F5 for ; Wed, 9 Aug 2006 17:41:17 +0000 (GMT) Message-ID: <10252415.1155145277423.JavaMail.jira@brutus> Date: Wed, 9 Aug 2006 10:41:17 -0700 (PDT) From: "Simon Lessard (JIRA)" To: adffaces-issues@incubator.apache.org Subject: [jira] Updated: (ADFFACES-72) Convert Trinidad to Java 5 standards and clean-up code In-Reply-To: <27794951.1153331596598.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/ADFFACES-72?page=all ] Simon Lessard updated ADFFACES-72: ---------------------------------- Status: Patch Available (was: Open) > Convert Trinidad to Java 5 standards and clean-up code > ------------------------------------------------------ > > Key: ADFFACES-72 > URL: http://issues.apache.org/jira/browse/ADFFACES-72 > Project: MyFaces ADF-Faces > Issue Type: Improvement > Reporter: Simon Lessard > Priority: Minor > Attachments: API_1_5_standard.zip, API_template.patch, DEMO_DateField_Java_5.patch, DEMO_java_5.patch, DEMO_SourceCodeServlet_Java_5.patch, Faces_plugin.patch, I18N_Java_5.patch, IMPL_5_standard.zip, SubKeyMap_Java_5.patch, TAG_Java_5.patch, UNIT_TESTS_Java_5.zip, XRTS_java_5.patch > > > This is a non critical long term improvement that should convert existing Trinidad code to Java 5.0 standard: > - Remove references to deprecated API > - Remove unused imports > - Remove unread variables > - Change StringBuffer to StringBuilder where synchronization is not required > - Reduce to minimum the use of raw type collections (they should be used only when calling an external 1.4 API) > - Make all collection generic compliant > - Use the enhanced 'for' construct in favor to classical 'for' whenever possible to reduce potential OutOfBoundsException risks > - Use enums > - Use concurrent API > - Add @Override annotation on overridden methods > - Add @SuppressWarning("unchecked") on method calling external method that returns non-generic enabled collections -- 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