diff --git a/core/src/main/java/org/apache/struts2/interceptor/CheckboxInterceptor.java b/core/src/main/java/org/apache/struts2/interceptor/CheckboxInterceptor.java index 3223f47bb..91321e533 100644 --- a/core/src/main/java/org/apache/struts2/interceptor/CheckboxInterceptor.java +++ b/core/src/main/java/org/apache/struts2/interceptor/CheckboxInterceptor.java @@ -69,9 +69,9 @@ public class CheckboxInterceptor extends AbstractInterceptor { String checkboxName = name.substring("__checkbox_".length()); Parameter value = parameter.getValue(); - checkboxParameters.add(name); + checkboxParameters.add(name); if (value.isMultiple()) { - LOG.debug("Bypassing automatic checkbox detection due to multiple checkboxes of the same name: {}", name); + LOG.debug("Bypassing automatic checkbox detection due to multiple checkboxes of the same name: {}", name); continue; } @@ -82,7 +82,7 @@ public class CheckboxInterceptor extends AbstractInterceptor { } } } - parameters.remove(checkboxParameters); + parameters.remove(checkboxParameters); ai.getInvocationContext().getParameters().appendAll(extraParams);