This is an automated email from the ASF dual-hosted git repository. aherbert pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-rng.git
The following commit(s) were added to refs/heads/master by this push: new 584557f Do not require Int/LongSizes for createInteger/Long seed. 584557f is described below commit 584557f9b4ac5197f4d29fe6eb39a37ab94078ac Author: Alex Herbert <aherb...@apache.org> AuthorDate: Sun Jun 2 21:30:05 2019 +0100 Do not require Int/LongSizes for createInteger/Long seed. --- .../apache/commons/rng/examples/jmh/ConstructionPerformance.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/commons-rng-examples/examples-jmh/src/main/java/org/apache/commons/rng/examples/jmh/ConstructionPerformance.java b/commons-rng-examples/examples-jmh/src/main/java/org/apache/commons/rng/examples/jmh/ConstructionPerformance.java index 61678a2..03b2973 100644 --- a/commons-rng-examples/examples-jmh/src/main/java/org/apache/commons/rng/examples/jmh/ConstructionPerformance.java +++ b/commons-rng-examples/examples-jmh/src/main/java/org/apache/commons/rng/examples/jmh/ConstructionPerformance.java @@ -912,11 +912,10 @@ public class ConstructionPerformance { } /** - * @param sizes Size of {@code int[]} seed. * @param bh Data sink. */ @Benchmark - public void createIntegerSeed(IntSizes sizes, Blackhole bh) { + public void createIntegerSeed(Blackhole bh) { for (int i = 0; i < SEEDS; i++) { // This has to be boxed to an object bh.consume(Integer.valueOf(SeedFactory.createInt())); @@ -924,11 +923,10 @@ public class ConstructionPerformance { } /** - * @param sizes Size of {@code long[]} seed. * @param bh Data sink. */ @Benchmark - public void createLongSeed(LongSizes sizes, Blackhole bh) { + public void createLongSeed(Blackhole bh) { for (int i = 0; i < SEEDS; i++) { // This has to be boxed to an object bh.consume(Long.valueOf(SeedFactory.createLong()));