Skip to content

LANG-1023#179

Merged
asfgit merged 3 commits intoapache:masterfrom
marko-bekhta:master
Sep 25, 2016
Merged

LANG-1023#179
asfgit merged 3 commits intoapache:masterfrom
marko-bekhta:master

Conversation

@marko-bekhta
Copy link
Contributor

WordUtils.wrap: Customizable breakable characters (not just space/whitespace)

changed wrap method to use regex pattern to find breakable characters rather than only spaces. added a few basic tests for "regex wrap"

WordUtils.wrap: Customizable breakable characters (not just space/whitespace)

changed wrap method to use regex pattern to find breakable characters rather than only spaces. added a few basic tests for "regex wrap"
@coveralls
Copy link

coveralls commented Jul 27, 2016

Coverage Status

Coverage decreased (-0.002%) to 93.44% when pulling 0fe9685 on marko-bekhta:master into bd9adbb on apache:master.

Copy link
Member

@britter britter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, but the JavaDoc needs a little polishing. Thank you!

}

/**
* <p>Wraps a single line of text, identifying words by <code>' '</code>.</p>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be identifying word by <code>wrapOn</code>

* <th>input</th>
* <th>wrapLenght</th>
* <th>newLineString</th>
* <th>wrapLongWords</th>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The table is a column for the wrapOn parameter

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@britter Hi, I've made the requested changes. Can you take a look?

WordUtils.wrap: Customizable breakable characters (not just space/whitespace)

updated JavaDoc
WordUtils.wrap: Customizable breakable characters (not just space/whitespace)

updated JavaDoc
@coveralls
Copy link

coveralls commented Sep 20, 2016

Coverage Status

Coverage increased (+0.1%) to 93.541% when pulling 8c99b82 on marko-bekhta:master into bd9adbb on apache:master.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.1%) to 93.565% when pulling 8c99b82 on marko-bekhta:master into bd9adbb on apache:master.

@coveralls
Copy link

coveralls commented Sep 20, 2016

Coverage Status

Coverage increased (+0.09%) to 93.527% when pulling 8c99b82 on marko-bekhta:master into bd9adbb on apache:master.

@asfgit asfgit merged commit 8c99b82 into apache:master Sep 25, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants