BAEL-4488 Fix indents

This commit is contained in:
Reza Ebrahimpour 2020-09-21 21:48:18 +03:30
parent 10e7aaed73
commit fd9e75c6e2
1 changed files with 4 additions and 4 deletions

View File

@ -25,10 +25,10 @@ public class AvailableCiphersUnitTest {
@Test
public void whenGetServicesWithFilter_thenGetAllCompatibleCipherAlgorithms() {
List<String> algorithms = Arrays.stream(Security.getProviders())
.flatMap(provider -> provider.getServices().stream())
.filter(service -> "Cipher".equals(service.getType()))
.map(Provider.Service::getAlgorithm)
.collect(Collectors.toList());
.flatMap(provider -> provider.getServices().stream())
.filter(service -> "Cipher".equals(service.getType()))
.map(Provider.Service::getAlgorithm)
.collect(Collectors.toList());
algorithms.forEach(logger::info);
}