This is an automated email from the ASF dual-hosted git repository.
ggregory 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 cf4a61fc Javadoc, in-line comment, and messages typos
cf4a61fc is described below
commit cf4a61fcaa923fa89a05a1edb609387eb0bc6764
Author: Gary Gregory <[email protected]>
AuthorDate: Fri May 19 09:07:26 2023 -0400
Javadoc, in-line comment, and messages typos
---
.../main/java/org/apache/commons/rng/examples/stress/RNGUtils.java | 2 +-
.../org/apache/commons/rng/examples/stress/StressTestCommand.java | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git
a/commons-rng-examples/examples-stress/src/main/java/org/apache/commons/rng/examples/stress/RNGUtils.java
b/commons-rng-examples/examples-stress/src/main/java/org/apache/commons/rng/examples/stress/RNGUtils.java
index 2ee77719..0454a0ab 100644
---
a/commons-rng-examples/examples-stress/src/main/java/org/apache/commons/rng/examples/stress/RNGUtils.java
+++
b/commons-rng-examples/examples-stress/src/main/java/org/apache/commons/rng/examples/stress/RNGUtils.java
@@ -35,7 +35,7 @@ final class RNGUtils {
private static final String BYTE_REVERSED = "Byte-reversed ";
/** Name prefix for bit-reversed RNGs. */
private static final String BIT_REVERSED = "Bit-reversed ";
- /** Name prefix for hashcode mixed RNGs. */
+ /** Name prefix for hash code mixed RNGs. */
private static final String HASH_CODE = "HashCode ^ ";
/** Name prefix for ThreadLocalRandom xor mixed RNGs. */
private static final String TLR_MIXED = "ThreadLocalRandom ^ ";
diff --git
a/commons-rng-examples/examples-stress/src/main/java/org/apache/commons/rng/examples/stress/StressTestCommand.java
b/commons-rng-examples/examples-stress/src/main/java/org/apache/commons/rng/examples/stress/StressTestCommand.java
index b24068e0..bf57a4be 100644
---
a/commons-rng-examples/examples-stress/src/main/java/org/apache/commons/rng/examples/stress/StressTestCommand.java
+++
b/commons-rng-examples/examples-stress/src/main/java/org/apache/commons/rng/examples/stress/StressTestCommand.java
@@ -194,14 +194,14 @@ class StressTestCommand implements Callable<Void> {
private String byteSeed;
/**
- * Flag to indicate the output should be combined with a hashcode from a
new object.
+ * Flag to indicate the output should be combined with a hash code from a
new object.
* This is a method previously used in the
* {@link org.apache.commons.rng.simple.internal.SeedFactory SeedFactory}.
*
* @see System#identityHashCode(Object)
*/
@Option(names = {"--hashcode"},
- description = {"Combine the bits with a hashcode (default:
${DEFAULT-VALUE}).",
+ description = {"Combine the bits with a hash code (default:
${DEFAULT-VALUE}).",
"System.identityHashCode(new Object()) ^
rng.nextInt()."})
private boolean xorHashCode;