mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
ValidationUtils.invokeValidator assertion for non-null target object
This commit is contained in:
@@ -71,6 +71,7 @@ public abstract class ValidationUtils {
|
||||
Validator validator, Object target, Errors errors, @Nullable Object... validationHints) {
|
||||
|
||||
Assert.notNull(validator, "Validator must not be null");
|
||||
Assert.notNull(target, "Target object must not be null");
|
||||
Assert.notNull(errors, "Errors object must not be null");
|
||||
|
||||
if (logger.isDebugEnabled()) {
|
||||
|
||||
Reference in New Issue
Block a user