[ 
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.

Reply via email to