Attempt to remove warning about not using inference

Signed-off-by: Tero Saarni <tero.saarni@est.tech>
This commit is contained in:
Tero Saarni 2023-11-23 14:12:43 +02:00 committed by Pedro Igor
parent e35f3d7e87
commit fd58cb1bec

View file

@ -113,10 +113,12 @@ public class ServerInfoAdminResource {
Collectors.toMap(
ClientSignatureVerifierProvider::isAsymmetricAlgorithm,
clientSignatureVerifier -> Collections.singletonList(clientSignatureVerifier.getAlgorithm()),
(l1, l2) -> ServerInfoAdminResource.<String>listCombiner(l1, l2)
.stream()
.sorted()
.collect(Collectors.toList()),
(l1, l2) -> {
List<String> result = listCombiner(l1, l2);
return result.stream()
.sorted()
.collect(Collectors.toList());
},
HashMap::new
)
);