8170566: Incorrect phrase usage in javadocs documentation
authorrriggs
Mon, 26 Dec 2016 23:09:54 +0530
changeset 43005 93a6492387c4
parent 43004 54896b192cc7
child 43006 e2fdc8ee8588
8170566: Incorrect phrase usage in javadocs documentation Reviewed-by: rriggs Contributed-by: abhijit.r.roy@oracle.com
jdk/src/java.base/share/classes/java/util/function/package-info.java
--- 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