Merge pull request #10064 from rezaep/master

BAEL-4488 Fix indents
This commit is contained in:
bfontana 2020-09-21 21:09:50 -03:00 committed by GitHub
commit 4caee42f39
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);
}