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

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


The following commit(s) were added to refs/heads/master by this push:
     new 353e06a  (doc) Fix javadoc for 'startIndex' parameter of 
StringUtils.join() methods (#412)
353e06a is described below

commit 353e06a8ac01542e1dfac877c5e05880ab2bb52c
Author: Andrei Troie <andreitroi...@gmail.com>
AuthorDate: Mon Mar 4 22:41:38 2019 +0000

    (doc) Fix javadoc for 'startIndex' parameter of StringUtils.join() methods 
(#412)
---
 .../java/org/apache/commons/lang3/StringUtils.java   | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/src/main/java/org/apache/commons/lang3/StringUtils.java 
b/src/main/java/org/apache/commons/lang3/StringUtils.java
index 3b3efb3..900eccf 100644
--- a/src/main/java/org/apache/commons/lang3/StringUtils.java
+++ b/src/main/java/org/apache/commons/lang3/StringUtils.java
@@ -4142,7 +4142,7 @@ public class StringUtils {
      * @param array  the array of values to join together, may be null
      * @param separator  the separator character to use
      * @param startIndex the first index to start joining from.  It is
-     * an error to pass in an end index past the end of the array
+     * an error to pass in a start index past the end of the array
      * @param endIndex the index to stop joining from (exclusive). It is
      * an error to pass in an end index past the end of the array
      * @return the joined String, {@code null} if null array input
@@ -4191,7 +4191,7 @@ public class StringUtils {
      * @param separator
      *            the separator character to use
      * @param startIndex
-     *            the first index to start joining from. It is an error to 
pass in an end index past the end of the
+     *            the first index to start joining from. It is an error to 
pass in a start index past the end of the
      *            array
      * @param endIndex
      *            the index to stop joining from (exclusive). It is an error 
to pass in an end index past the end of
@@ -4240,7 +4240,7 @@ public class StringUtils {
      * @param separator
      *            the separator character to use
      * @param startIndex
-     *            the first index to start joining from. It is an error to 
pass in an end index past the end of the
+     *            the first index to start joining from. It is an error to 
pass in a start index past the end of the
      *            array
      * @param endIndex
      *            the index to stop joining from (exclusive). It is an error 
to pass in an end index past the end of
@@ -4289,7 +4289,7 @@ public class StringUtils {
      * @param separator
      *            the separator character to use
      * @param startIndex
-     *            the first index to start joining from. It is an error to 
pass in an end index past the end of the
+     *            the first index to start joining from. It is an error to 
pass in a start index past the end of the
      *            array
      * @param endIndex
      *            the index to stop joining from (exclusive). It is an error 
to pass in an end index past the end of
@@ -4338,7 +4338,7 @@ public class StringUtils {
      * @param separator
      *            the separator character to use
      * @param startIndex
-     *            the first index to start joining from. It is an error to 
pass in an end index past the end of the
+     *            the first index to start joining from. It is an error to 
pass in a start index past the end of the
      *            array
      * @param endIndex
      *            the index to stop joining from (exclusive). It is an error 
to pass in an end index past the end of
@@ -4387,7 +4387,7 @@ public class StringUtils {
      * @param separator
      *            the separator character to use
      * @param startIndex
-     *            the first index to start joining from. It is an error to 
pass in an end index past the end of the
+     *            the first index to start joining from. It is an error to 
pass in a start index past the end of the
      *            array
      * @param endIndex
      *            the index to stop joining from (exclusive). It is an error 
to pass in an end index past the end of
@@ -4436,7 +4436,7 @@ public class StringUtils {
      * @param separator
      *            the separator character to use
      * @param startIndex
-     *            the first index to start joining from. It is an error to 
pass in an end index past the end of the
+     *            the first index to start joining from. It is an error to 
pass in a start index past the end of the
      *            array
      * @param endIndex
      *            the index to stop joining from (exclusive). It is an error 
to pass in an end index past the end of
@@ -4485,7 +4485,7 @@ public class StringUtils {
      * @param separator
      *            the separator character to use
      * @param startIndex
-     *            the first index to start joining from. It is an error to 
pass in an end index past the end of the
+     *            the first index to start joining from. It is an error to 
pass in a start index past the end of the
      *            array
      * @param endIndex
      *            the index to stop joining from (exclusive). It is an error 
to pass in an end index past the end of
@@ -4757,7 +4757,7 @@ public class StringUtils {
      * @param list  the {@code List} of values to join together, may be null
      * @param separator  the separator character to use
      * @param startIndex the first index to start joining from.  It is
-     * an error to pass in an end index past the end of the list
+     * an error to pass in a start index past the end of the list
      * @param endIndex the index to stop joining from (exclusive). It is
      * an error to pass in an end index past the end of the list
      * @return the joined String, {@code null} if null list input
@@ -4795,7 +4795,7 @@ public class StringUtils {
      * @param list  the {@code List} of values to join together, may be null
      * @param separator  the separator character to use
      * @param startIndex the first index to start joining from.  It is
-     * an error to pass in an end index past the end of the list
+     * an error to pass in a start index past the end of the list
      * @param endIndex the index to stop joining from (exclusive). It is
      * an error to pass in an end index past the end of the list
      * @return the joined String, {@code null} if null list input

Reply via email to