diff --git a/src/main/java/org/apache/commons/lang3/StringUtils.java b/src/main/java/org/apache/commons/lang3/StringUtils.java index 544ded685..b077c670c 100644 --- a/src/main/java/org/apache/commons/lang3/StringUtils.java +++ b/src/main/java/org/apache/commons/lang3/StringUtils.java @@ -3094,9 +3094,10 @@ public static String concat(Object... elements) { } /** - *

Joins the provided elements into a single String.

+ *

Joins the provided elements into a single String, with the specified + * separator between each element.

* - *

No separator is added to the joined String. + *

No separator is added before or after the joined String. * Null objects or empty string elements are represented by * empty strings.

* @@ -3105,6 +3106,7 @@ public static String concat(Object... elements) { * StringUtils.concatWith("", null, "", "a") = "a" * * + * @param separator the value to put between elements * @param elements the values to join together * @return the concatenated String * @since 3.0