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 [email protected] or file a JIRA ticket
with INFRA.
---