commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From PascalSchumacher <...@git.apache.org>
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:

    https://github.com/apache/commons-lang/pull/101#issuecomment-217736263
  
    To quote Gary Gregory from https://issues.apache.org/jira/browse/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)
    
    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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message