commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aaabramov <...@git.apache.org>
Subject [GitHub] commons-lang pull request #362: Add a check to StringUtils.repeat() for larg...
Date Mon, 22 Oct 2018 07:26:55 GMT
Github user aaabramov commented on a diff in the pull request:

    https://github.com/apache/commons-lang/pull/362#discussion_r226915778
  
    --- Diff: src/test/java/org/apache/commons/lang3/StringUtilsTest.java ---
    @@ -1592,6 +1592,12 @@ public void testRepeat_StringInt() {
             final String str = StringUtils.repeat("a", 10000);  // bigger than pad limit
             assertEquals(10000, str.length());
             assertTrue(StringUtils.containsOnly(str, 'a'));
    +        try {
    +            StringUtils.repeat("aaa",Integer.MAX_VALUE);
    --- End diff --
    
    Missing space between parameters


---

Mime
View raw message