BAEL-2184 sorted test not include deep copy

This commit is contained in:
clininger 2018-10-09 21:20:09 +07:00
parent 7538a4b534
commit ee1b2cb40b
1 changed files with 0 additions and 1 deletions

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));