From f49bea556a314c611c825cd71de02603c72c0688 Mon Sep 17 00:00:00 2001 From: Michael Hoennig Date: Mon, 13 Jan 2025 11:29:06 +0100 Subject: [PATCH] deprecated getAllValidationResults -> getParameterValidationResults --- .../hsadminng/errors/RestResponseEntityExceptionHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/hostsharing/hsadminng/errors/RestResponseEntityExceptionHandler.java b/src/main/java/net/hostsharing/hsadminng/errors/RestResponseEntityExceptionHandler.java index 64b72ef8..31ab3647 100644 --- a/src/main/java/net/hostsharing/hsadminng/errors/RestResponseEntityExceptionHandler.java +++ b/src/main/java/net/hostsharing/hsadminng/errors/RestResponseEntityExceptionHandler.java @@ -132,7 +132,7 @@ public class RestResponseEntityExceptionHandler final HttpStatusCode status, final WebRequest request) { final var errorList = exc - .getAllValidationResults() // FIXME: deprecated + .getParameterValidationResults() .stream() .map(ParameterValidationResult::getResolvableErrors) .flatMap(Collection::stream)