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 f099b4a5f docs: Annotation error StringUtils.repeat("", "x", 3) = 
"xx"; (#918)
f099b4a5f is described below

commit f099b4a5fcbc9d77f721b0b69b5d2da414bbc840
Author: guicaiyue <43875377+guicai...@users.noreply.github.com>
AuthorDate: Tue Jul 5 20:43:26 2022 +0800

    docs: Annotation error StringUtils.repeat("", "x", 3) = "xx"; (#918)
---
 src/main/java/org/apache/commons/lang3/StringUtils.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/java/org/apache/commons/lang3/StringUtils.java 
b/src/main/java/org/apache/commons/lang3/StringUtils.java
index 5d03cda3b..55061b4ee 100644
--- a/src/main/java/org/apache/commons/lang3/StringUtils.java
+++ b/src/main/java/org/apache/commons/lang3/StringUtils.java
@@ -6352,7 +6352,7 @@ public class StringUtils {
      * StringUtils.repeat(null, "x", 2)  = null
      * StringUtils.repeat("", null, 0)   = ""
      * StringUtils.repeat("", "", 2)     = ""
-     * StringUtils.repeat("", "x", 3)    = "xxx"
+     * StringUtils.repeat("", "x", 3)    = "xx"
      * StringUtils.repeat("?", ", ", 3)  = "?, ?, ?"
      * </pre>
      *

Reply via email to