From e35f3d7e8752ca2677c57bf74cf6ade117562f7e Mon Sep 17 00:00:00 2001 From: Tero Saarni Date: Thu, 16 Nov 2023 10:21:13 +0200 Subject: [PATCH] Fix compilation error with ServerInfoAdminResource This change fixes following type inference error: * Type mismatch: cannot convert from Map to Map> The error comes when opening and compiling on vscode or Eclipse, which uses Eclipse JDT compiler. Signed-off-by: Tero Saarni --- .../services/resources/admin/info/ServerInfoAdminResource.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/src/main/java/org/keycloak/services/resources/admin/info/ServerInfoAdminResource.java b/services/src/main/java/org/keycloak/services/resources/admin/info/ServerInfoAdminResource.java index 9b66c7f8be..8785ad9db4 100755 --- a/services/src/main/java/org/keycloak/services/resources/admin/info/ServerInfoAdminResource.java +++ b/services/src/main/java/org/keycloak/services/resources/admin/info/ServerInfoAdminResource.java @@ -113,7 +113,7 @@ public class ServerInfoAdminResource { Collectors.toMap( ClientSignatureVerifierProvider::isAsymmetricAlgorithm, clientSignatureVerifier -> Collections.singletonList(clientSignatureVerifier.getAlgorithm()), - (l1, l2) -> listCombiner(l1, l2) + (l1, l2) -> ServerInfoAdminResource.listCombiner(l1, l2) .stream() .sorted() .collect(Collectors.toList()),