8170566: Incorrect phrase usage in javadocs documentation
Reviewed-by: rriggs
Contributed-by: abhijit.r.roy@oracle.com
--- a/jdk/src/java.base/share/classes/java/util/function/package-info.java Mon Dec 26 22:57:26 2016 +0530
+++ b/jdk/src/java.base/share/classes/java/util/function/package-info.java Mon Dec 26 23:09:54 2016 +0530
@@ -74,7 +74,7 @@
* {@link java.util.function.Function} (unary function from {@code T} to {@code R}),
* {@link java.util.function.Consumer} (unary function from {@code T} to {@code void}),
* {@link java.util.function.Predicate} (unary function from {@code T} to {@code boolean}),
- * and {@link java.util.function.Supplier} (nilary function to {@code R}).
+ * and {@link java.util.function.Supplier} (nullary function to {@code R}).
* </li>
*
* <li>Function shapes have a natural arity based on how they are most