Author: jafl Date: Thu Jan 27 20:18:44 2011 New Revision: 1064288 URL: http://svn.apache.org/viewvc?rev=1064288&view=rev Log: XW-385 remove unused code
Modified: struts/struts2/trunk/xwork-core/src/main/java/com/opensymphony/xwork2/interceptor/ParameterFilterInterceptor.java Modified: struts/struts2/trunk/xwork-core/src/main/java/com/opensymphony/xwork2/interceptor/ParameterFilterInterceptor.java URL: http://svn.apache.org/viewvc/struts/struts2/trunk/xwork-core/src/main/java/com/opensymphony/xwork2/interceptor/ParameterFilterInterceptor.java?rev=1064288&r1=1064287&r2=1064288&view=diff ============================================================================== --- struts/struts2/trunk/xwork-core/src/main/java/com/opensymphony/xwork2/interceptor/ParameterFilterInterceptor.java (original) +++ struts/struts2/trunk/xwork-core/src/main/java/com/opensymphony/xwork2/interceptor/ParameterFilterInterceptor.java Thu Jan 27 20:18:44 2011 @@ -115,7 +115,6 @@ public class ParameterFilterInterceptor boolean currentAllowed = !isDefaultBlock(); - boolean foundApplicableRule = false; for (Object o1 : includesExcludesMap.keySet()) { String currRule = (String) o1; @@ -123,11 +122,6 @@ public class ParameterFilterInterceptor && (param.length() == currRule.length() || isPropSeperator(param.charAt(currRule.length())))) { currentAllowed = includesExcludesMap.get(currRule).booleanValue(); - } else { - if (foundApplicableRule) { - foundApplicableRule = false; - break; - } } } if (!currentAllowed) {