Merge branch 'BAEL-2184'
This commit is contained in:
commit
4f1c1625d8
@ -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));
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user