Fix ShellMethod not using context validator
This commit is contained in:
committed by
Janne Valkealahti
parent
1ff802d8e0
commit
23194d05e2
@@ -298,7 +298,6 @@ public class InvocableShellMethod {
|
||||
try {
|
||||
if (validator != null) {
|
||||
Method bridgedMethod = getBridgedMethod();
|
||||
Validator validator = Utils.defaultValidator();
|
||||
Set<ConstraintViolation<Object>> constraintViolations = validator.forExecutables()
|
||||
.validateParameters(getBean(), bridgedMethod, args);
|
||||
if (constraintViolations.size() > 0) {
|
||||
|
||||
Reference in New Issue
Block a user