You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "uwe schaefer (JIRA)" <ji...@apache.org> on 2009/08/08 10:47:14 UTC

[jira] Updated: (WICKET-2409) Widen type-constraint on TextTemplate.interpolate(Map variables)

     [ https://issues.apache.org/jira/browse/WICKET-2409?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

uwe schaefer updated WICKET-2409:
---------------------------------

    Attachment: wicket-trunk-TextTemplate-StringXObject-to-StringXAny.patch

Changed signatures from Map<String, Object> to Map<String,?> in TextTemplate and subclasses.

> Widen type-constraint on TextTemplate.interpolate(Map<String, Object> variables)
> --------------------------------------------------------------------------------
>
>                 Key: WICKET-2409
>                 URL: https://issues.apache.org/jira/browse/WICKET-2409
>             Project: Wicket
>          Issue Type: Improvement
>    Affects Versions: 1.4.0
>            Reporter: uwe schaefer
>            Priority: Minor
>         Attachments: wicket-trunk-TextTemplate-StringXObject-to-StringXAny.patch
>
>
> The parametrization of interpolate method of TextTemplate and implementors should imho be opened to
> Map<String,?> in order to be able to use it with Map<String,String> or any other value-type.
> The current parametrization makes it quite clumsy to use.

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