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 gh-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 gh-30558
- Loading branch information