[ https://issues.apache.org/jira/browse/TEXT-234?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17848117#comment-17848117 ]
TobiasKiecker commented on TEXT-234: ------------------------------------ We also found the same issue in _commons-lang_ and its StrBuilder Class. I will also open a PR for that. > Inconsistent documentation for setNewLineText and appendNewLine > ---------------------------------------------------------------- > > Key: TEXT-234 > URL: https://issues.apache.org/jira/browse/TEXT-234 > Project: Commons Text > Issue Type: Improvement > Affects Versions: 1.12.0 > Reporter: TobiasKiecker > Priority: Minor > Labels: documentation > > The method _setNewLineText_ in both _StrBuilder_ and _TextStringBuilder_ have > ambiguous documentation. If someone were to extend the class and override > _appendNewLine_ null would not be handled anymore. > The docstring of s{_}etNewlineText{_} implies that THIS function does the > handling, while in truth it is done in _appendNewLine._ -- This message was sent by Atlassian Jira (v8.20.10#820010)