commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From britter <...@git.apache.org>
Subject [GitHub] commons-lang pull request #179: LANG-1023
Date Tue, 20 Sep 2016 16:13:14 GMT
Github user britter commented on a diff in the pull request:

    https://github.com/apache/commons-lang/pull/179#discussion_r79648930
  
    --- Diff: src/main/java/org/apache/commons/lang3/text/WordUtils.java ---
    @@ -172,6 +173,84 @@ public static String wrap(final String str, final int wrapLength)
{
          * @return a line with newlines inserted, <code>null</code> if null input
          */
         public static String wrap(final String str, int wrapLength, String newLineStr, final
boolean wrapLongWords) {
    +        return wrap(str, wrapLength, newLineStr, wrapLongWords, " ");
    +    }
    +
    +    /**
    +     * <p>Wraps a single line of text, identifying words by <code>' '</code>.</p>
    --- End diff --
    
    Should be `identifying word by <code>wrapOn</code>`


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message