[
https://issues.apache.org/jira/browse/WW-3755?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13211764#comment-13211764
]
Maurizio Cucchiara commented on WW-3755:
----------------------------------------
@Rene
The {{setAcceptParamNames}}, which I'm pasting below for your convenience, is
not the {{acceptedParamNames}} setter, and it never refers it (in very truth
nothing refers {{acceptedParamNames}} aside from {{acceptedPattern}}.
{code}
public void setAcceptParamNames(String commaDelim) {
Collection<String> acceptPatterns = ArrayUtils.asCollection(commaDelim);
if (acceptPatterns != null) {
acceptParams = new HashSet<Pattern>();
for (String pattern : acceptPatterns) {
acceptParams.add(Pattern.compile(pattern));
}
}
}
{code}
> make ParametersInterceptor.acceptedParamNames public and static
> ---------------------------------------------------------------
>
> Key: WW-3755
> URL: https://issues.apache.org/jira/browse/WW-3755
> Project: Struts 2
> Issue Type: Improvement
> Components: Core Interceptors
> Reporter: zhouyanming
> Attachments: WW-3755.patch, patch.txt
>
>
> let it can be referenced by other classes
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira