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

Reply via email to