deprecated getAllValidationResults -> getParameterValidationResults

This commit is contained in:
Michael Hoennig 2025-01-13 11:29:06 +01:00
parent e879a61dc7
commit f49bea556a

View File

@ -132,7 +132,7 @@ public class RestResponseEntityExceptionHandler
final HttpStatusCode status, final HttpStatusCode status,
final WebRequest request) { final WebRequest request) {
final var errorList = exc final var errorList = exc
.getAllValidationResults() // FIXME: deprecated .getParameterValidationResults()
.stream() .stream()
.map(ParameterValidationResult::getResolvableErrors) .map(ParameterValidationResult::getResolvableErrors)
.flatMap(Collection::stream) .flatMap(Collection::stream)