-
Notifications
You must be signed in to change notification settings - Fork 246
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TEXT-231: WordUtils.wrap react to pre-existing "newline string" #458
base: master
Are you sure you want to change the base?
Conversation
wrap - The main loop is completely rewritten, aiming to increase legibility of the code - The wrap method now respects pre-existing newline strings - An inconsistency in how zero-length "wrapOn" patterns are treated has been addressed - Test cases for the wrap method are made parametrised and named
- Fixing bug that made newline not be respected in case wrapLongWords is false and the first word on a line was too long - Adding test cases for above, and for the same condition with wrapOn
2673e3c
to
22a5b04
Compare
-1 as is:
|
IntelliJ IDEA also supports @DisplayName and parametrised tests (and Jetbrains even recommends it), as does Visual Studio Code. Hence the comment is counterproductive: Javadoc adds more "clutter" than @DisplayName, without achieving the purpose for which the annotation was added.
|
WordUtils.wrap made to react to pre-existing "newline string" as a wrap