Skip to content

Commit ee1b2cb

Browse files
author
clininger
committed
BAEL-2184 sorted test not include deep copy
1 parent 7538a4b commit ee1b2cb

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

  • core-java-collections/src/test/java/com/baeldung/convertcollectiontoarraylist

core-java-collections/src/test/java/com/baeldung/convertcollectiontoarraylist/FooUnitTest.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@ public void whenUsingDeepCopy_thenVerifyDeepCopy() {
7575
@Test
7676
public void whenUsingSortedStream_thenVerifySortOrder() {
7777
ArrayList<Foo> newList = srcCollection.stream()
78-
.map(foo -> foo.deepCopy())
7978
.sorted(Comparator.comparing(Foo::getName))
8079
.collect(toCollection(ArrayList::new));
8180

0 commit comments

Comments
 (0)