mirror of
https://github.com/apache/struts.git
synced 2026-08-11 01:27:14 +00:00
Small simplification
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1156296 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
+1
-4
@@ -350,10 +350,7 @@ public class ParametersInterceptor extends MethodFilterInterceptor {
|
||||
}
|
||||
|
||||
protected boolean acceptableName(String name) {
|
||||
if (isAccepted(name) && !isExcluded(name)) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
return isAccepted(name) && !isExcluded(name);
|
||||
}
|
||||
|
||||
protected boolean isAccepted(String paramName) {
|
||||
|
||||
Reference in New Issue
Block a user