[ 
https://issues.apache.org/jira/browse/LANG-1118?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14514849#comment-14514849
 ] 

ASF GitHub Bot commented on LANG-1118:
--------------------------------------

Github user britter commented on the pull request:

    https://github.com/apache/commons-lang/pull/68#issuecomment-96796970
  
    @rikles Commons Lang has been migrated from svn to git. Because of this the 
main branch has been renamed to 'master'. Can you please rebase your work 
against the master branch? Thank you!


> 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_.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to