[
https://issues.apache.org/jira/browse/TEXT-138?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16677960#comment-16677960
]
ASF GitHub Bot commented on TEXT-138:
-------------------------------------
Github user coveralls commented on the issue:
https://github.com/apache/commons-text/pull/92
[](https://coveralls.io/builds/19956092)
Coverage increased (+0.002%) to 97.878% when pulling
**a8d94daaa59eef6709b70e66a46319c3c75cd718 on drajakumar:master** into
**f0ae79e46e3923562168df9c03023587eafc4d69 on apache:master**.
> TextStringBuilder append sub-sequence not consistant with Appendable
> --------------------------------------------------------------------
>
> Key: TEXT-138
> URL: https://issues.apache.org/jira/browse/TEXT-138
> Project: Commons Text
> Issue Type: Bug
> Affects Versions: 1.4
> Reporter: Neal Johnson
> Priority: Minor
> Labels: usability
>
> The method:
> {{append(final CharSequence seq, final int startIndex, final int length)}}
> Overrides the method defined by Appendable. However the behavior of the
> TextStringBuilder implementation is not consistent with the definition in
> Appendable. As the class defines "that some edge cases, with invalid indices
> or null input, have been altered - see individual methods" this would not
> normally be an issue. However as the implementation states that it overrides
> Appendable the class cannot be used as an Appendable as the last argument is
> expected to be an end index and not a length.
>
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)