changeset 7575:4ae1942a996d

more javadoc nits
author mduigou
date Thu, 07 Mar 2013 16:01:39 -0800
parents f9bbfe0e351d
children d5b536e37988
files src/share/classes/java/util/Objects.java src/share/classes/java/util/stream/Stream.java
diffstat 2 files changed, 6 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/classes/java/util/Objects.java	Thu Mar 07 15:08:27 2013 -0800
+++ b/src/share/classes/java/util/Objects.java	Thu Mar 07 16:01:39 2013 -0800
@@ -241,8 +241,8 @@
      * @return {@code true} if the provided reference is null otherwise returns
      * {@code false}.
      *
-     * @see Predicate
-     * @since 1.8
+     * @see java.util.function.Predicate
+     * @since 1.8y
      */
     public static <T> boolean isNull(T t) {
         return t == null;
@@ -262,7 +262,7 @@
      * @return {@code true} if the provided reference is non-null otherwise
      * returns {@code false}.
      *
-     * @see Predicate
+     * @see java.util.function.Predicate
      * @since 1.8
      */
     public static <T> boolean nonNull(T t) {
--- a/src/share/classes/java/util/stream/Stream.java	Thu Mar 07 15:08:27 2013 -0800
+++ b/src/share/classes/java/util/stream/Stream.java	Thu Mar 07 16:01:39 2013 -0800
@@ -244,9 +244,9 @@
      * Produce a {@code Stream} containing the elements of this stream, and also provide elements
      * to the specified {@link Consumer} as elements are consumed from the resulting stream.  This is
      * an <a href="package-summary.html#StreamOps">intermediate operation</a>.
-     * {@apiNote}
-     * This method exists mainly to support debugging, where you want to see the elements as they flow past a certain
-     * point in a pipeline:
+     *
+     * @apiNote This method exists mainly to support debugging, where you want
+     * to see the elements as they flow past a certain point in a pipeline:
      * <pre>
      *     list.stream()
      *         .filter(filteringFunction)