garydgregory commented on a change in pull request #717:
URL: https://github.com/apache/commons-lang/pull/717#discussion_r581430243
##########
File path: src/main/java/org/apache/commons/lang3/ObjectUtils.java
##########
@@ -1237,6 +1243,37 @@ public static String toString(final Object obj, final
String nullStr) {
return obj == null ? nullStr : obj.toString();
}
+ /**
+ * <p>Validate that the specified argument object is neither {@code null}
+ * nor a length of zero (no elements); otherwise throwing an exception.
+ *
+ * <p>The message of the exception is "The object is null or
empty".</p>
+ *
+ * @param object the object to check
+ *
+ * @throws IllegalArgumentException if {@code array} is {@code null}
+ * @throws IllegalArgumentException if {@code array} is empty.
+ */
Review comment:
Javadoc Add at since 3.12.0 for new public and protected APIs.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]