Skip to content

Commit 3693f6b

Browse files
committed
remove obsolete assert
1 parent e68ae18 commit 3693f6b

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/com/winterbe/java8/Lambda1.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
import java.util.Collections;
55
import java.util.Comparator;
66
import java.util.List;
7-
import java.util.Objects;
87
import java.util.Optional;
98

109
/**
@@ -45,8 +44,6 @@ public int compare(String a, String b) {
4544
Optional.ofNullable(names3).ifPresent(list -> list.sort(Comparator.naturalOrder()));
4645

4746
System.out.println(names3);
48-
49-
Objects.nonNull(names3);
5047
}
5148

5249
}

0 commit comments

Comments
 (0)