Fix compilation error with ServerInfoAdminResource

This change fixes following type inference error:
* Type mismatch: cannot convert from Map<Boolean,Object> to Map<Boolean,List<String>>

The error comes when opening and compiling on vscode or Eclipse, which uses
Eclipse JDT compiler.

Signed-off-by: Tero Saarni <tero.saarni@est.tech>
This commit is contained in:
Tero Saarni 2023-11-16 10:21:13 +02:00 committed by Pedro Igor
parent 631debb6ab
commit e35f3d7e87

View file

@ -113,7 +113,7 @@ public class ServerInfoAdminResource {
Collectors.toMap(
ClientSignatureVerifierProvider::isAsymmetricAlgorithm,
clientSignatureVerifier -> Collections.singletonList(clientSignatureVerifier.getAlgorithm()),
(l1, l2) -> listCombiner(l1, l2)
(l1, l2) -> ServerInfoAdminResource.<String>listCombiner(l1, l2)
.stream()
.sorted()
.collect(Collectors.toList()),