You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Maria Kaval (JIRA)" <de...@myfaces.apache.org> on 2010/02/19 08:03:30 UTC

[jira] Created: (TRINIDAD-1732) Code Cleanup: Move to using generics in the trinidad-maven project

Code Cleanup: Move to  using generics in the trinidad-maven project
-------------------------------------------------------------------

                 Key: TRINIDAD-1732
                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1732
             Project: MyFaces Trinidad
          Issue Type: Improvement
          Components: Documentation
    Affects Versions:  1.2.12-plugins 
            Reporter: Maria Kaval
            Priority: Minor


As a code clean-up task, move to using Generics in the trinidad-maven project, so e.g. instead of:
      Iterator renderkits = facesConfig.renderKits();
      while (renderkits.hasNext())
      {
        RenderKitBean renderkit = (RenderKitBean) renderkits.next();

change the code to:
      Iterator<RenderKitBean> renderkits = facesConfig.renderKits();
      while (renderkits.hasNext())
      {
        RenderKitBean renderkit = renderkits.next();

As part of this changeover I found one bug in ComponentBean.java where it seems the code was improperly casting to an EventBean when really the object was an EventRefBean.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (TRINIDAD-1732) Code Cleanup: Move to using generics in the trinidad-maven project

Posted by "Maria Kaval (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/TRINIDAD-1732?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Maria Kaval updated TRINIDAD-1732:
----------------------------------

    Status: Patch Available  (was: Open)

> Code Cleanup: Move to  using generics in the trinidad-maven project
> -------------------------------------------------------------------
>
>                 Key: TRINIDAD-1732
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1732
>             Project: MyFaces Trinidad
>          Issue Type: Improvement
>          Components: Documentation
>    Affects Versions:  1.2.12-plugins 
>            Reporter: Maria Kaval
>            Priority: Minor
>
> As a code clean-up task, move to using Generics in the trinidad-maven project, so e.g. instead of:
>       Iterator renderkits = facesConfig.renderKits();
>       while (renderkits.hasNext())
>       {
>         RenderKitBean renderkit = (RenderKitBean) renderkits.next();
> change the code to:
>       Iterator<RenderKitBean> renderkits = facesConfig.renderKits();
>       while (renderkits.hasNext())
>       {
>         RenderKitBean renderkit = renderkits.next();
> As part of this changeover I found one bug in ComponentBean.java where it seems the code was improperly casting to an EventBean when really the object was an EventRefBean.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (TRINIDAD-1732) Code Cleanup: Move to using generics in the trinidad-maven project

Posted by "Jeanne Waldman (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/TRINIDAD-1732?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jeanne Waldman updated TRINIDAD-1732:
-------------------------------------

       Resolution: Fixed
    Fix Version/s:  1.2.13-plugins 
           Status: Resolved  (was: Patch Available)

> Code Cleanup: Move to  using generics in the trinidad-maven project
> -------------------------------------------------------------------
>
>                 Key: TRINIDAD-1732
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1732
>             Project: MyFaces Trinidad
>          Issue Type: Improvement
>          Components: Documentation
>    Affects Versions:  1.2.12-plugins 
>            Reporter: Maria Kaval
>            Assignee: Jeanne Waldman
>            Priority: Minor
>             Fix For:  1.2.13-plugins 
>
>         Attachments: patchJIRA1732_trunk.patch
>
>
> As a code clean-up task, move to using Generics in the trinidad-maven project, so e.g. instead of:
>       Iterator renderkits = facesConfig.renderKits();
>       while (renderkits.hasNext())
>       {
>         RenderKitBean renderkit = (RenderKitBean) renderkits.next();
> change the code to:
>       Iterator<RenderKitBean> renderkits = facesConfig.renderKits();
>       while (renderkits.hasNext())
>       {
>         RenderKitBean renderkit = renderkits.next();
> As part of this changeover I found one bug in ComponentBean.java where it seems the code was improperly casting to an EventBean when really the object was an EventRefBean.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.