[ 
https://issues.apache.org/jira/browse/AMQ-7199?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16910595#comment-16910595
 ] 

ASF subversion and git services commented on AMQ-7199:
------------------------------------------------------

Commit ca77f9cfc9135c5cf7fbb91c0d4ccbf95ca44b59 in activemq's branch 
refs/heads/master from bd2019us
[ https://gitbox.apache.org/repos/asf?p=activemq.git;h=ca77f9c ]

[AMQ-7199] Replace Math.Random with Random.nextDouble


> Replace Math.Random with Random.nextDouble
> ------------------------------------------
>
>                 Key: AMQ-7199
>                 URL: https://issues.apache.org/jira/browse/AMQ-7199
>             Project: ActiveMQ
>          Issue Type: Improvement
>          Components: Broker
>            Reporter: bd2019us
>            Assignee: Jean-Baptiste Onofré
>            Priority: Trivial
>             Fix For: 5.16.0, 5.15.10
>
>         Attachments: AMQ-7199.patch
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> 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
(v8.3.2#803003)

Reply via email to