commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From PascalSchumacher <>
Subject [GitHub] commons-lang pull request: random length strings within range
Date Sun, 08 May 2016 17:54:56 GMT
Github user PascalSchumacher commented on the pull request:
    To quote Gary Gregory from
    >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)
    So for the sake of consistency with the existing methods and the java random api, an exclusive
max should be used. 

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

View raw message