changeset 43005:93a6492387c4

8170566: Incorrect phrase usage in javadocs documentation Reviewed-by: rriggs Contributed-by: abhijit.r.roy@oracle.com
author rriggs
date Mon, 26 Dec 2016 23:09:54 +0530
parents 54896b192cc7
children e2fdc8ee8588
files jdk/src/java.base/share/classes/java/util/function/package-info.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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