You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "bd2019us (JIRA)" <ji...@apache.org> on 2019/05/11 02:40:00 UTC

[jira] [Created] (AMQ-7199) Replace Math.Random with Random.nextDouble

bd2019us created AMQ-7199:
-----------------------------

             Summary: Replace Math.Random with Random.nextDouble
                 Key: AMQ-7199
                 URL: https://issues.apache.org/jira/browse/AMQ-7199
             Project: ActiveMQ
          Issue Type: Improvement
            Reporter: bd2019us


For better control over randomness and comparatively less performance overhead, Random.nextDouble can be used instead of Math.random. Such a sample instance is showed in the attached patch. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)