The spec
http://download.java.net/jdk8/docs/api/java/util/Comparator.html#thenComparing%28java.util.function.Function,%20java.util.Comparator%29
says:
"Throws:
NullPointerException - if the argument is null"
Seems like it should be "if either argument is null"
http://download.java.net/jdk8/docs/api/java/util/Comparator.html#thenComparing%28java.util.function.Function,%20java.util.Comparator%29
says:
"Throws:
NullPointerException - if the argument is null"
Seems like it should be "if either argument is null"