[
https://issues.apache.org/jira/browse/LANG-1118?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14517328#comment-14517328
]
ASF GitHub Bot commented on LANG-1118:
--------------------------------------
Github user coveralls commented on the pull request:
https://github.com/apache/commons-lang/pull/72#issuecomment-97126145
[](https://coveralls.io/builds/2441805)
Coverage decreased (-0.0%) to 93.83% when pulling
**9cc91332ff252f6e3f41719526f930dcb5908c31 on rikles:fix-LANG-1118** into
**63d8a025e6f38ddfc966c4104ac783bcb59031e0 on apache:master**.
> StringUtils.repeat('z', -1) throws NegativeArraySizeException
> -------------------------------------------------------------
>
> Key: LANG-1118
> URL: https://issues.apache.org/jira/browse/LANG-1118
> Project: Commons Lang
> Issue Type: Bug
> Components: lang.*
> Reporter: Loic Guibert
> Assignee: Benedikt Ritter
> Priority: Minor
>
> Unlike what is said in JavaDoc comment, when passing a negative repeat value
> to the *StringUtils.repeat(char, int)* function, it doesn't return an empty
> String but throws a _NegativeArraySizeException_.
> See PR #72 : https://github.com/apache/commons-lang/pull/72
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)