Skip to content

Commit 6f27ca6

Browse files
committed
[CODEC-276] Reliance on default encoding in MurmurHash2 and MurmurHash3.
Standardize on US English spelling.
1 parent 3397682 commit 6f27ca6

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

src/main/java/org/apache/commons/codec/digest/MurmurHash3.java

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ public static int hash32(final long data, final int seed) {
216216
* int hash = MurmurHash3.hash32(data, offset, data.length, seed);
217217
* </pre>
218218
*
219-
* <p>This implementation contains a sign-extension bug in the finalisation step of
219+
* <p>This implementation contains a sign-extension bug in the finalization step of
220220
* any bytes left over from dividing the length by 4. This manifests if any of these
221221
* bytes are negative.<p>
222222
*
@@ -245,7 +245,7 @@ public static int hash32(final byte[] data) {
245245
* int hash = MurmurHash3.hash32(bytes, offset, bytes.length, seed);
246246
* </pre>
247247
*
248-
* <p>This implementation contains a sign-extension bug in the finalisation step of
248+
* <p>This implementation contains a sign-extension bug in the finalization step of
249249
* any bytes left over from dividing the length by 4. This manifests if any of these
250250
* bytes are negative.<p>
251251
*
@@ -271,7 +271,7 @@ public static int hash32(final String data) {
271271
* int hash = MurmurHash3.hash32(data, offset, length, seed);
272272
* </pre>
273273
*
274-
* <p>This implementation contains a sign-extension bug in the finalisation step of
274+
* <p>This implementation contains a sign-extension bug in the finalization step of
275275
* any bytes left over from dividing the length by 4. This manifests if any of these
276276
* bytes are negative.<p>
277277
*
@@ -295,7 +295,7 @@ public static int hash32(final byte[] data, final int length) {
295295
* int hash = MurmurHash3.hash32(data, offset, length, seed);
296296
* </pre>
297297
*
298-
* <p>This implementation contains a sign-extension bug in the finalisation step of
298+
* <p>This implementation contains a sign-extension bug in the finalization step of
299299
* any bytes left over from dividing the length by 4. This manifests if any of these
300300
* bytes are negative.<p>
301301
*
@@ -317,7 +317,7 @@ public static int hash32(final byte[] data, final int length, final int seed) {
317317
* <p>This is an implementation of the 32-bit hash function {@code MurmurHash3_x86_32}
318318
* from from Austin Applyby's original MurmurHash3 {@code c++} code in SMHasher.</p>
319319
*
320-
* <p>This implementation contains a sign-extension bug in the finalisation step of
320+
* <p>This implementation contains a sign-extension bug in the finalization step of
321321
* any bytes left over from dividing the length by 4. This manifests if any of these
322322
* bytes are negative.<p>
323323
*
@@ -1188,7 +1188,7 @@ private static int orBytes(final byte b1, final byte b2, final byte b3, final by
11881188
* <p>This is an implementation of the 32-bit hash function {@code MurmurHash3_x86_32}
11891189
* from from Austin Applyby's original MurmurHash3 {@code c++} code in SMHasher.</p>
11901190
*
1191-
* <p>This implementation contains a sign-extension bug in the finalisation step of
1191+
* <p>This implementation contains a sign-extension bug in the finalization step of
11921192
* any bytes left over from dividing the length by 4. This manifests if any of these
11931193
* bytes are negative.<p>
11941194
*
@@ -1200,7 +1200,7 @@ public static class IncrementalHash32 extends IncrementalHash32x86 {
12001200
/**
12011201
* {@inheritDoc}
12021202
*
1203-
* <p>This implementation contains a sign-extension bug in the finalisation step of
1203+
* <p>This implementation contains a sign-extension bug in the finalization step of
12041204
* any bytes left over from dividing the length by 4. This manifests if any of these
12051205
* bytes are negative.<p>
12061206
*

0 commit comments

Comments
 (0)