Merge pull request #357 from bd2019us/AMQ-7199

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