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-codec.git
The following commit(s) were added to refs/heads/master by this push: new e0a85c7 Remove trailing white spaces. e0a85c7 is described below commit e0a85c7fac564d8d8818bb7aa4da4f532fca41ab Author: Gary Gregory <gardgreg...@gmail.com> AuthorDate: Fri Jul 12 15:54:36 2019 -0400 Remove trailing white spaces. --- .../org/apache/commons/codec/CharEncoding.java | 2 +- .../org/apache/commons/codec/binary/Base32.java | 4 ++-- .../org/apache/commons/codec/binary/Base64.java | 4 ++-- .../apache/commons/codec/digest/MurmurHash2.java | 24 ++++++++++---------- .../apache/commons/codec/digest/MurmurHash3.java | 26 +++++++++++----------- 5 files changed, 30 insertions(+), 30 deletions(-) diff --git a/src/main/java/org/apache/commons/codec/CharEncoding.java b/src/main/java/org/apache/commons/codec/CharEncoding.java index 6457933..cd74596 100644 --- a/src/main/java/org/apache/commons/codec/CharEncoding.java +++ b/src/main/java/org/apache/commons/codec/CharEncoding.java @@ -55,7 +55,7 @@ package org.apache.commons.codec; * @since 1.4 */ public class CharEncoding { - + /** * CharEncodingISO Latin Alphabet No. 1, a.k.a. ISO-LATIN-1. * <p> diff --git a/src/main/java/org/apache/commons/codec/binary/Base32.java b/src/main/java/org/apache/commons/codec/binary/Base32.java index 3301ed4..d9da1fd 100644 --- a/src/main/java/org/apache/commons/codec/binary/Base32.java +++ b/src/main/java/org/apache/commons/codec/binary/Base32.java @@ -551,10 +551,10 @@ public class Base32 extends BaseNCodec { * <p> * Validates whether the character is possible in the context of the set of possible base 32 values. * </p> - * + * * @param numBits number of least significant bits to check * @param context the context to be used - * + * * @throws IllegalArgumentException if the bits being checked contain any non-zero value */ private void validateCharacter(int numBits, Context context) { diff --git a/src/main/java/org/apache/commons/codec/binary/Base64.java b/src/main/java/org/apache/commons/codec/binary/Base64.java index 06e2db7..56744aa 100644 --- a/src/main/java/org/apache/commons/codec/binary/Base64.java +++ b/src/main/java/org/apache/commons/codec/binary/Base64.java @@ -787,10 +787,10 @@ public class Base64 extends BaseNCodec { * <p> * Validates whether the character is possible in the context of the set of possible base 64 values. * </p> - * + * * @param numBits number of least significant bits to check * @param context the context to be used - * + * * @throws IllegalArgumentException if the bits being checked contain any non-zero value */ private long validateCharacter(int numBitsToDrop, Context context) { diff --git a/src/main/java/org/apache/commons/codec/digest/MurmurHash2.java b/src/main/java/org/apache/commons/codec/digest/MurmurHash2.java index 6d0aed3..a980196 100644 --- a/src/main/java/org/apache/commons/codec/digest/MurmurHash2.java +++ b/src/main/java/org/apache/commons/codec/digest/MurmurHash2.java @@ -19,18 +19,18 @@ package org.apache.commons.codec.digest; /** * MurmurHash2 yields a 32-bit or 64-bit value. - * + * * MurmurHash is a non-cryptographic hash function suitable for general * hash-based lookup. The name comes from two basic operations, multiply (MU) * and rotate (R), used in its inner loop. Unlike cryptographic hash functions, * it is not specifically designed to be difficult to reverse by an adversary, * making it unsuitable for cryptographic purposes. - * + * * This is a re-implementation of the original C code plus some additional * features. - * + * * Public domain. - * + * * @see <a href="https://en.wikipedia.org/wiki/MurmurHash">MurmurHash</a> * @since 1.13 */ @@ -42,7 +42,7 @@ public final class MurmurHash2 { /** * Generates 32 bit hash from byte array of the given length and seed. - * + * * @param data byte array to hash * @param length length of the array to hash * @param seed initial seed value @@ -89,7 +89,7 @@ public final class MurmurHash2 { /** * Generates 32 bit hash from byte array with default seed value. - * + * * @param data byte array to hash * @param length length of the array to hash * @return 32 bit hash of the given array @@ -100,7 +100,7 @@ public final class MurmurHash2 { /** * Generates 32 bit hash from a string. - * + * * @param text string to hash * @return 32 bit hash of the given string */ @@ -111,7 +111,7 @@ public final class MurmurHash2 { /** * Generates 32 bit hash from a substring. - * + * * @param text string to hash * @param from starting index * @param length length of the substring to hash @@ -123,7 +123,7 @@ public final class MurmurHash2 { /** * Generates 64 bit hash from byte array of the given length and seed. - * + * * @param data byte array to hash * @param length length of the array to hash * @param seed initial seed value @@ -179,7 +179,7 @@ public final class MurmurHash2 { /** * Generates 64 bit hash from byte array with default seed value. - * + * * @param data byte array to hash * @param length length of the array to hash * @return 64 bit hash of the given string @@ -190,7 +190,7 @@ public final class MurmurHash2 { /** * Generates 64 bit hash from a string. - * + * * @param text string to hash * @return 64 bit hash of the given string */ @@ -201,7 +201,7 @@ public final class MurmurHash2 { /** * Generates 64 bit hash from a substring. - * + * * @param text string to hash * @param from starting index * @param length length of the substring to hash diff --git a/src/main/java/org/apache/commons/codec/digest/MurmurHash3.java b/src/main/java/org/apache/commons/codec/digest/MurmurHash3.java index 3a2bbf0..8af4620 100644 --- a/src/main/java/org/apache/commons/codec/digest/MurmurHash3.java +++ b/src/main/java/org/apache/commons/codec/digest/MurmurHash3.java @@ -19,13 +19,13 @@ package org.apache.commons.codec.digest; /** * MurmurHash3 yields a 32-bit or 128-bit value. - * + * * MurmurHash is a non-cryptographic hash function suitable for general * hash-based lookup. The name comes from two basic operations, multiply (MU) * and rotate (R), used in its inner loop. Unlike cryptographic hash functions, * it is not specifically designed to be difficult to reverse by an adversary, * making it unsuitable for cryptographic purposes. - * + * * 32-bit Java port of * https://code.google.com/p/smhasher/source/browse/trunk/MurmurHash3.cpp#94 * 128-bit Java port of @@ -34,10 +34,10 @@ package org.apache.commons.codec.digest; * This is a public domain code with no copyrights. From homepage of MurmurHash * (https://code.google.com/p/smhasher/), "All MurmurHash versions are public * domain software, and the author disclaims all copyright to their code." - * + * * Copied from Apache Hive: * https://github.com/apache/hive/blob/master/storage-api/src/java/org/apache/hive/common/util/Murmur3.java - * + * * @see <a href="https://en.wikipedia.org/wiki/MurmurHash">MurmurHash</a> * @since 1.13 */ @@ -48,10 +48,10 @@ public final class MurmurHash3 { /** TODO Replace on Java 8 with Integer.BYTES. */ static final int INTEGER_BYTES = Integer.SIZE / Byte.SIZE; - + /** TODO Replace on Java 8 with Short.BYTES. */ static final int SHORT_BYTES = Short.SIZE / Byte.SIZE; - + // from 64-bit linear congruential generator public static final long NULL_HASHCODE = 2862933555777941757L; @@ -81,7 +81,7 @@ public final class MurmurHash3 { /** * Generates 32 bit hash from two longs with default seed value. - * + * * @param l0 long to hash * @param l1 long to hash * @return 32 bit hash @@ -92,7 +92,7 @@ public final class MurmurHash3 { /** * Generates 32 bit hash from a long with default seed value. - * + * * @param l0 long to hash * @return 32 bit hash */ @@ -102,7 +102,7 @@ public final class MurmurHash3 { /** * Generates 32 bit hash from a long with the given seed. - * + * * @param l0 long to hash * @param seed initial seed value * @return 32 bit hash @@ -119,7 +119,7 @@ public final class MurmurHash3 { /** * Generates 32 bit hash from two longs with the given seed. - * + * * @param l0 long to hash * @param l1 long to hash * @param seed initial seed value @@ -239,7 +239,7 @@ public final class MurmurHash3 { /** * Murmur3 64-bit variant. This is essentially MSB 8 bytes of Murmur3 128-bit * variant. - * + * * @param data - input long * @return 64 bit hash */ @@ -262,7 +262,7 @@ public final class MurmurHash3 { /** * Murmur3 64-bit variant. This is essentially MSB 8 bytes of Murmur3 128-bit * variant. - * + * * @param data - input int * @return 64 bit hash */ @@ -283,7 +283,7 @@ public final class MurmurHash3 { /** * Murmur3 64-bit variant. This is essentially MSB 8 bytes of Murmur3 128-bit * variant. - * + * * @param data - input short * @return 64 bit hash */