Uploaded image for project: 'MyFaces Trinidad'
  1. MyFaces Trinidad
  2. TRINIDAD-542

Convert Trinidad to Java 5 standards and clean-up code

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.0.0-incubating-core
    • 1.0.0-incubating-core
    • None
    • None

    Description

      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

      Attachments

        1. XRTS_java_5.patch
          0.7 kB
          Simon Lessard
        2. UNIT_UI_Java_5_v2.zip
          80 kB
          Simon Lessard
        3. UNIT_TESTS_Java_5.zip
          30 kB
          Simon Lessard
        4. UI_Java_5.zip
          50 kB
          Simon Lessard
        5. TAG_Java_5.patch
          7 kB
          Simon Lessard
        6. SubKeyMap_Java_5.patch
          7 kB
          Simon Lessard
        7. IMPL_5_standard.zip
          165 kB
          Simon Lessard
        8. I18N_Java_5.patch
          1 kB
          Simon Lessard
        9. FINAL_Java_5.zip
          20 kB
          Simon Lessard
        10. FINAL_Java_5_v2.zip
          20 kB
          Simon Lessard
        11. Faces_plugin.patch
          11 kB
          Simon Lessard
        12. DEMO_SourceCodeServlet_Java_5.patch
          0.6 kB
          Simon Lessard
        13. DEMO_java_5.patch
          77 kB
          Simon Lessard
        14. DEMO_DateField_Java_5.patch
          6 kB
          Simon Lessard
        15. API_template.patch
          46 kB
          Simon Lessard
        16. API_1_5_standard.zip
          47 kB
          Simon Lessard

        Activity

          People

            Unassigned Unassigned
            lothian Simon Lessard
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: