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/06/03 09:08:34 UTC

DO NOT REPLY [Bug 20442] New: - [math] Fix style, javadoc, test coverage gaps in RandomData

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=20442>.
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=20442

[math] Fix style, javadoc, test coverage gaps in RandomData

           Summary: [math] Fix style, javadoc, test coverage gaps in
                    RandomData
           Product: Commons
           Version: Nightly Builds
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Sandbox
        AssignedTo: commons-dev@jakarta.apache.org
        ReportedBy: phil@steitz.com


The attached patch fixes style and javadoc errors in RandomData and
RandomDataImpl and gets RandomDataTest as near to 100% coverage as possible
(missed execution paths are traversed only with near zero probability).

The patch also fixes a bug in RandomDataImpl that was, interestingly, discovered
while examining the Clover test coverage report. The reSeedSecure() method was
actually reseeding the non-secure generator.  This error could not have been
caught in any unit test.

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