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

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

Commit fb7d4e6c4d9b23e88cf672ab777fce36f48c60a9 in activemq's branch 
refs/heads/master from Jean-Baptiste Onofré
[ https://gitbox.apache.org/repos/asf?p=activemq.git;h=fb7d4e6 ]

Merge pull request #357 from bd2019us/AMQ-7199

[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