commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary Gregory (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LANG-1224) Extend RandomStringUtils with methods that take an inclusive min and max range
Date Sun, 08 May 2016 16:44:12 GMT

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

Gary Gregory commented on LANG-1224:
------------------------------------

It seems _really_ confusing that some new APIs would use an inclusive max while existing APIs
use an exclusive max.

Current APIs with exclusive max:

- random(int, int, int, boolean, boolean)
- random(int, int, int, boolean, boolean, char...)
- random(int, int, int, boolean, boolean, char[], Random)

Gary

> Extend RandomStringUtils with methods that take an inclusive min and max range
> ------------------------------------------------------------------------------
>
>                 Key: LANG-1224
>                 URL: https://issues.apache.org/jira/browse/LANG-1224
>             Project: Commons Lang
>          Issue Type: New Feature
>          Components: lang.*
>            Reporter: Pascal Schumacher
>
> As suggested in [https://github.com/apache/commons-lang/pull/101/commits/22bef8fe74760649805a921a0f8d3d536683abdb]



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

Mime
View raw message