Merge branch 'BAEL-2184'

This commit is contained in:
clininger 2018-10-09 21:23:40 +07:00
commit 4f1c1625d8

View File

@ -75,7 +75,6 @@ public class FooUnitTest {
@Test @Test
public void whenUsingSortedStream_thenVerifySortOrder() { public void whenUsingSortedStream_thenVerifySortOrder() {
ArrayList<Foo> newList = srcCollection.stream() ArrayList<Foo> newList = srcCollection.stream()
.map(foo -> foo.deepCopy())
.sorted(Comparator.comparing(Foo::getName)) .sorted(Comparator.comparing(Foo::getName))
.collect(toCollection(ArrayList::new)); .collect(toCollection(ArrayList::new));