Fix the no param case when paramOverload annotation is in place
@@ -102,6 +102,7 @@ public class InputParameterValidator {
}
} else if (overloadParameterNames.length > 0 &&
overloadParameterNames[overloadParameterNames.length - 1].equals(REPETITIVE_PARAMETER_NOTATION)) {
+ if (attributeExpressionExecutors.length > 0) {
boolean isExpectedParameterOverload = true;
for (int i = 0; i < attributeExpressionExecutors.length; i++) {
Parameter parameter = null;
@@ -131,6 +132,7 @@ public class InputParameterValidator {
}
}
}
+ }
if (parameterOverload == null) {
if (parameterOverloads.length > 0) {
