You are viewing a plain text version of this content. The canonical link for it is here.
Posted to adffaces-issues@incubator.apache.org by "Matthias Weßendorf (JIRA)" <ad...@incubator.apache.org> on 2007/03/16 08:23:17 UTC

[jira] Updated: (ADFFACES-72) Convert Trinidad to Java 5 standards and clean-up code

     [ https://issues.apache.org/jira/browse/ADFFACES-72?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matthias Weßendorf updated ADFFACES-72:
---------------------------------------

        Fix Version/s: 1.0.0-incubating-core
    Affects Version/s: 1.0.0-incubating-core

> Convert Trinidad to Java 5 standards and clean-up code
> ------------------------------------------------------
>
>                 Key: ADFFACES-72
>                 URL: https://issues.apache.org/jira/browse/ADFFACES-72
>             Project: MyFaces ADF-Faces
>          Issue Type: Improvement
>    Affects Versions: 1.0.0-incubating-core
>            Reporter: Simon Lessard
>            Priority: Minor
>             Fix For: 1.0.0-incubating-core
>
>         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, FINAL_Java_5.zip, FINAL_Java_5_v2.zip, I18N_Java_5.patch, IMPL_5_standard.zip, SubKeyMap_Java_5.patch, TAG_Java_5.patch, UI_Java_5.zip, UNIT_TESTS_Java_5.zip, UNIT_UI_Java_5_v2.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.
-
You can reply to this email to add a comment to the issue online.