Attempt to remove warning about not using inference
Signed-off-by: Tero Saarni <tero.saarni@est.tech>
This commit is contained in:
parent
e35f3d7e87
commit
fd58cb1bec
1 changed files with 6 additions and 4 deletions
|
@ -113,10 +113,12 @@ public class ServerInfoAdminResource {
|
||||||
Collectors.toMap(
|
Collectors.toMap(
|
||||||
ClientSignatureVerifierProvider::isAsymmetricAlgorithm,
|
ClientSignatureVerifierProvider::isAsymmetricAlgorithm,
|
||||||
clientSignatureVerifier -> Collections.singletonList(clientSignatureVerifier.getAlgorithm()),
|
clientSignatureVerifier -> Collections.singletonList(clientSignatureVerifier.getAlgorithm()),
|
||||||
(l1, l2) -> ServerInfoAdminResource.<String>listCombiner(l1, l2)
|
(l1, l2) -> {
|
||||||
.stream()
|
List<String> result = listCombiner(l1, l2);
|
||||||
.sorted()
|
return result.stream()
|
||||||
.collect(Collectors.toList()),
|
.sorted()
|
||||||
|
.collect(Collectors.toList());
|
||||||
|
},
|
||||||
HashMap::new
|
HashMap::new
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue