Skip to content

Commit a9b0681

Browse files
peter-lawreyclaude
andcommitted
docs: fix produce -> produces conjugation in hash function javadoc
"This implementation produce equal results" -> "produces". "call produce always the same result" -> "call produces always ...". "could either produce equal results" -> "either produces equal results". Javadoc only - no behaviour changes. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 59b706d commit a9b0681

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

src/main/java/net/openhft/hashing/LongHashFunction.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
* is defined by the given {@link Access} strategy to the given object.</li>
3434
* </ul>
3535
*
36-
* <p>Hash function implementation could either produce equal results for equal input on platforms
36+
* <p>Hash function implementation either produces equal results for equal input on platforms
3737
* with different {@link ByteOrder}, favoring one byte order in terms of performance, or different
3838
* results, but performing equally well. This choice should be explicitly documented for all
3939
* {@code LongHashFunction} implementations.
@@ -59,7 +59,7 @@ public abstract class LongHashFunction implements Serializable {
5959
/**
6060
* Returns a {@code LongHashFunction} that implements the
6161
* <a href="https://github.com/google/cityhash/blob/8af9b8c2b889d80c22d6bc26ba0df1afb79a30db/src/city.cc">
62-
* CityHash64 algorithm, version 1.1</a> without seed values. This implementation produce
62+
* CityHash64 algorithm, version 1.1</a> without seed values. This implementation produces
6363
* equal results for equal input on platforms with different {@link ByteOrder}, but is slower
6464
* on big-endian platforms than on little-endian.
6565
*
@@ -74,7 +74,7 @@ public static LongHashFunction city_1_1() {
7474
/**
7575
* Returns a hash function implementing the
7676
* <a href="https://github.com/google/cityhash/blob/8af9b8c2b889d80c22d6bc26ba0df1afb79a30db/src/city.cc">
77-
* CityHash64 algorithm, version 1.1</a> using the given seed value. This implementation produce
77+
* CityHash64 algorithm, version 1.1</a> using the given seed value. This implementation produces
7878
* equal results for equal input on platforms with different {@link ByteOrder}, but is slower
7979
* on big-endian platforms than on little-endian.
8080
*
@@ -419,7 +419,7 @@ protected LongHashFunction() {
419419
* value is interpreted in {@linkplain ByteOrder#nativeOrder() native} byte order. For example,
420420
* the result of {@code hashShort(v)} call is identical to the result of
421421
* {@code hashShorts(new short[] {v})} call for any {@code short} value.
422-
* As a consequence, {@code hashShort(v)} call produce always the same result as {@code
422+
* As a consequence, {@code hashShort(v)} call produces always the same result as {@code
423423
* hashChar((char) v)}.
424424
*
425425
* @param input the short value to be hashed
@@ -433,7 +433,7 @@ protected LongHashFunction() {
433433
* value is interpreted in {@linkplain ByteOrder#nativeOrder() native} byte order. For example,
434434
* the result of {@code hashChar(v)} call is identical to the result of
435435
* {@code hashChars(new char[] {v})} call for any {@code char} value.
436-
* As a consequence, {@code hashChar(v)} call produce always the same result as {@code
436+
* As a consequence, {@code hashChar(v)} call produces always the same result as {@code
437437
* hashShort((short) v)}.
438438
*
439439
* @param input the char value to be hashed

0 commit comments

Comments
 (0)