Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Always use MethodArgumentNotValidException(MethodParameter, BindingRe…
…sult) constructor spring-projectsgh-23846 introduced a new MethodArgumentNotValidException(Executable, BindingResult) constructor that can be advantageously replaced by using MethodArgumentNotValidException(MethodParameter, BindingResult) in ModelAttributeMethodProcessor. This commit updates ModelAttributeMethodProcessor accordingly, and deprecates MethodArgumentNotValidException(Executable, BindingResult) in favor of MethodArgumentNotValidException(MethodParameter, BindingResult). Closes spring-projectsgh-30558
- Loading branch information