commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brit...@apache.org
Subject [lang] Better JavaDoc for ObjectUtils.anyNotNull and ObjectUtils.allNotNull
Date Sun, 11 Sep 2016 13:25:51 GMT
Repository: commons-lang
Updated Branches:
  refs/heads/master 0bdeb204c -> 9e2bcbf52


Better JavaDoc for ObjectUtils.anyNotNull and ObjectUtils.allNotNull


Project: http://git-wip-us.apache.org/repos/asf/commons-lang/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-lang/commit/9e2bcbf5
Tree: http://git-wip-us.apache.org/repos/asf/commons-lang/tree/9e2bcbf5
Diff: http://git-wip-us.apache.org/repos/asf/commons-lang/diff/9e2bcbf5

Branch: refs/heads/master
Commit: 9e2bcbf520bc8850b8b3a50ba619bb648a1416db
Parents: 0bdeb20
Author: Benedikt Ritter <britter@apache.org>
Authored: Sun Sep 11 15:25:43 2016 +0200
Committer: Benedikt Ritter <britter@apache.org>
Committed: Sun Sep 11 15:25:43 2016 +0200

----------------------------------------------------------------------
 .../org/apache/commons/lang3/ObjectUtils.java   | 20 +++++++++++++-------
 1 file changed, 13 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-lang/blob/9e2bcbf5/src/main/java/org/apache/commons/lang3/ObjectUtils.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/lang3/ObjectUtils.java b/src/main/java/org/apache/commons/lang3/ObjectUtils.java
index 8f1478f..d328105 100644
--- a/src/main/java/org/apache/commons/lang3/ObjectUtils.java
+++ b/src/main/java/org/apache/commons/lang3/ObjectUtils.java
@@ -129,9 +129,12 @@ public class ObjectUtils {
     }
 
     /**
-     * <p>Checks if any value in the array is not {@code null}.
+     * Checks if any value in the given array is not {@code null}.
+     *
+     * <p>
      * If all the values are {@code null} or the array is {@code null}
-     * or empty then {@code false} is returned. Otherwise {@code true} is returned.</p>
+     * or empty then {@code false} is returned. Otherwise {@code true} is returned.
+     * </p>
      *
      * <pre>
      * ObjectUtils.anyNotNull(*)                = true
@@ -153,11 +156,14 @@ public class ObjectUtils {
     }
 
     /**
-     * <p>Checks if all values in the array are not {@code null}s.
-     * If any value is {@code null} or the array is {@code null}
-     * then {@code false} is returned.
-     * If all elements in array are not {@code null} or the array is empty (contains no elements)
-     * {@code true} is returned.</p>
+     * Checks if all values in the array are not {@code nulls}.
+     *
+     * <p>
+     * If any value is {@code null} or the array is {@code null} then
+     * {@code false} is returned. If all elements in array are not
+     * {@code null} or the array is empty (contains no elements) {@code true}
+     * is returned.
+     * </p>
      * 
      * <pre>
      * ObjectUtils.allNotNull(*)             = true


Mime
View raw message