You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by bu...@apache.org on 2003/04/27 19:17:15 UTC

DO NOT REPLY [Bug 19365] New: - [Lang] Enhancements and test cases for RandomUtils

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19365>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19365

[Lang]  Enhancements and test cases for RandomUtils

           Summary: [Lang]  Enhancements and test cases for RandomUtils
           Product: Commons
           Version: Nightly Builds
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Lang
        AssignedTo: commons-dev@jakarta.apache.org
        ReportedBy: phil@steitz.com


Attaching patches to make the following minor enhancements to math.RandomUtils:

1. modify nextInt(n) to throw IllegalArgumentException if n <= 0
2. add nextLong(n)
3. add RandomUtilsTest test suite
4. modify MathTestSuite to include the new tests

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org