You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by britter <gi...@git.apache.org> on 2016/09/20 16:13:14 UTC

[GitHub] commons-lang pull request #179: LANG-1023

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.
---