changeset 8448:993cb4bb1ea3

javadoc cleanup
author mduigou
date Tue, 30 Apr 2013 15:51:45 -0700
parents 7c4898c8b974
children 5097c0fece93
files src/share/classes/java/util/Objects.java
diffstat 1 files changed, 6 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/classes/java/util/Objects.java	Tue Apr 30 12:53:41 2013 -0700
+++ b/src/share/classes/java/util/Objects.java	Tue Apr 30 15:51:45 2013 -0700
@@ -232,13 +232,11 @@
      * {@code false}.
      *
      * @apiNote This method exists to be used as a
-     * {@link java.util.function.Predicate}. <pre>
-     *      filter(Objects::isNull)
-     * </pre>
+     * {@link java.util.function.Predicate}, {@code filter(Objects::isNull)}
      *
-     * @param obj a reference to be checked against null.
+     * @param obj a reference to be checked against null
      * @return {@code true} if the provided reference is null otherwise returns
-     * {@code false}.
+     * {@code false}
      *
      * @see java.util.function.Predicate
      * @since 1.8
@@ -252,13 +250,11 @@
      * returns {@code false}.
      *
      * @apiNote This method exists to be used as a
-     * {@link java.util.function.Predicate}. <pre>
-     *   filter(Objects::nonNull)
-     * </pre>
+     * {@link java.util.function.Predicate}, {@code filter(Objects::nonNull)}
      *
-     * @param obj a reference to be checked against null.
+     * @param obj a reference to be checked against null
      * @return {@code true} if the provided reference is non-null otherwise
-     * returns {@code false}.
+     * returns {@code false}
      *
      * @see java.util.function.Predicate
      * @since 1.8