[
https://issues.apache.org/jira/browse/TRINIDAD-716?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Simon Lessard resolved TRINIDAD-716.
------------------------------------
Resolution: Fixed
Applied the patch to the trunk.
> Change Icon.renderIcon to accept Map<String, ? extends Object> attribute map
> ----------------------------------------------------------------------------
>
> Key: TRINIDAD-716
> URL: https://issues.apache.org/jira/browse/TRINIDAD-716
> Project: MyFaces Trinidad
> Issue Type: Improvement
> Affects Versions: 1.0.2-core, 1.2.2-core
> Reporter: Simon Lessard
> Assignee: Simon Lessard
> Priority: Trivial
> Fix For: 1.0.3-core, 1.2.3-core
>
> Attachments: TRINIDAD-716.patch
>
>
> Changing the Icon.renderIcon method signature from
> abstract public void renderIcon(
> FacesContext context,
> RenderingContext arc,
> Map<String, Object> attrs
> ) throws IOException;
> to
> abstract public void renderIcon(
> FacesContext context,
> RenderingContext arc,
> Map<String, ? extends Object> attrs
> ) throws IOException;
> grant the ability to call the method with, for example, the result from
> Collections.singletonMap receiving two String. Furthermore, this change
> should not impact backward compatibility since the new signature is a
> generalization of the former one.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.