BAEL-583 - minor changes

This commit is contained in:
slavisa-baeldung 2017-01-21 08:06:30 +01:00
parent 444c475d7c
commit 62c59c82ce
1 changed files with 7 additions and 7 deletions

View File

@ -26,7 +26,7 @@ public class Java8FindAnyFindFirstTest {
} }
@Test @Test
public void createParallelStream_whenFindAnyResultIsPresent_ThenCorrect() throws Exception { public void createParallelStream_whenFindAnyResultIsPresent_thenCorrect() throws Exception {
List<Integer> list = Arrays.asList(1, 2, 3, 4, 5); List<Integer> list = Arrays.asList(1, 2, 3, 4, 5);
Optional<Integer> result = list Optional<Integer> result = list
.stream() .stream()