You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ah...@apache.org on 2019/04/11 08:58:52 UTC
[commons-rng] 02/02: Comment empty method in ThreadLocalPerformance
benchmark.
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
commit 19d673812d8145266983a1b5011c30d9aa8aafad
Author: aherbert <ah...@apache.org>
AuthorDate: Thu Apr 11 09:58:47 2019 +0100
Comment empty method in ThreadLocalPerformance benchmark.
---
.../org/apache/commons/rng/examples/jmh/ThreadLocalPerformance.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/commons-rng-examples/examples-jmh/src/main/java/org/apache/commons/rng/examples/jmh/ThreadLocalPerformance.java b/commons-rng-examples/examples-jmh/src/main/java/org/apache/commons/rng/examples/jmh/ThreadLocalPerformance.java
index 8e69cfd..dae16e5 100644
--- a/commons-rng-examples/examples-jmh/src/main/java/org/apache/commons/rng/examples/jmh/ThreadLocalPerformance.java
+++ b/commons-rng-examples/examples-jmh/src/main/java/org/apache/commons/rng/examples/jmh/ThreadLocalPerformance.java
@@ -135,9 +135,9 @@ public class ThreadLocalPerformance {
final ThreadLocalRandom rand = ThreadLocalRandom.current();
final UniformRandomProvider rng = new UniformRandomProvider() {
@Override
- public void nextBytes(byte[] bytes) {}
+ public void nextBytes(byte[] bytes) { /* Ignore this. */ }
@Override
- public void nextBytes(byte[] bytes, int start, int len) {}
+ public void nextBytes(byte[] bytes, int start, int len) { /* Ignore this. */ }
@Override
public int nextInt() { return rand.nextInt(); }
@Override