You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Juergen Donnerstag (JIRA)" <ji...@apache.org> on 2009/04/12 23:14:14 UTC
[jira] Resolved: (WICKET-2222) MixedParamUrlCodingStrategy
constructor should be variadic
[ https://issues.apache.org/jira/browse/WICKET-2222?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Juergen Donnerstag resolved WICKET-2222.
----------------------------------------
Resolution: Fixed
Fix Version/s: 1.4-RC3
Assignee: Juergen Donnerstag
applied. Thanks
> MixedParamUrlCodingStrategy constructor should be variadic
> ----------------------------------------------------------
>
> Key: WICKET-2222
> URL: https://issues.apache.org/jira/browse/WICKET-2222
> Project: Wicket
> Issue Type: Wish
> Components: wicket
> Affects Versions: 1.4-RC2
> Reporter: Philippe Marschall
> Assignee: Juergen Donnerstag
> Priority: Minor
> Fix For: 1.4-RC3
>
>
> If the following constructor:
> {code}
> public MixedParamUrlCodingStrategy(String mountPath, Class bookmarkablePageClass,
> String[] parameterNames)
> {code}
> would instead be defined as:
> {code}
> public MixedParamUrlCodingStrategy(String mountPath, Class bookmarkablePageClass,
> String... parameterNames)
> {code}
> The following code:
> {code}
> new MixedParamUrlCodingStrategy("products",ProductDetailPage.class, new String[]{"id"});
> {code}
> could be simplified into:
> {code}
> new MixedParamUrlCodingStrategy("products",ProductDetailPage.class, "id");
> {code}
> This change would be API and ABI compilant.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.