This is an automated email from the ASF dual-hosted git repository.

sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-io.git


The following commit(s) were added to refs/heads/master by this push:
     new c052147  Fix Javadoc errors
c052147 is described below

commit c0521477eb99133098495dce53b85574fe9b3a9c
Author: Sebb <s...@apache.org>
AuthorDate: Sat Aug 10 10:49:07 2019 +0100

    Fix Javadoc errors
---
 src/main/java/org/apache/commons/io/IOUtils.java | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/main/java/org/apache/commons/io/IOUtils.java 
b/src/main/java/org/apache/commons/io/IOUtils.java
index 64240f2..0c6fc4b 100644
--- a/src/main/java/org/apache/commons/io/IOUtils.java
+++ b/src/main/java/org/apache/commons/io/IOUtils.java
@@ -3316,7 +3316,7 @@ public class IOUtils {
      * Returns the length of the given array in a null-safe manner.
      *
      * @param array an array or null
-     * @return the array length or null if the given array is null.
+     * @return the array length -- or 0 if the given array is null.
      * @since 2.7
      */
     public static int length(final byte[] array) {
@@ -3327,7 +3327,7 @@ public class IOUtils {
      * Returns the length of the given array in a null-safe manner.
      *
      * @param array an array or null
-     * @return the array length or null if the given array is null.
+     * @return the array length -- or 0 if the given array is null.
      * @since 2.7
      */
     public static int length(final char[] array) {
@@ -3338,7 +3338,7 @@ public class IOUtils {
      * Returns the length of the given CharSequence in a null-safe manner.
      *
      * @param csq a CharSequence or null
-     * @return the CharSequence length or null if the given CharSequence is 
null.
+     * @return the CharSequence length -- or 0 if the given CharSequence is 
null.
      * @since 2.7
      */
     public static int length(final CharSequence csq) {
@@ -3349,7 +3349,7 @@ public class IOUtils {
      * Returns the length of the given array in a null-safe manner.
      *
      * @param array an array or null
-     * @return the array length or null if the given array is null.
+     * @return the array length -- or 0 if the given array is null.
      * @since 2.7
      */
     public static int length(final Object[] array) {

Reply via email to