Details
-
Improvement
-
Status: Closed
-
Trivial
-
Resolution: Fixed
-
1.0.2-core, 1.2.2-core
-
None
-
None
Description
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.