Skip to content

Commit e0a85c7

Browse files
author
Gary Gregory
committed
Remove trailing white spaces.
1 parent eaf9ae1 commit e0a85c7

5 files changed

Lines changed: 30 additions & 30 deletions

File tree

src/main/java/org/apache/commons/codec/CharEncoding.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
* @since 1.4
5656
*/
5757
public class CharEncoding {
58-
58+
5959
/**
6060
* CharEncodingISO Latin Alphabet No. 1, a.k.a. ISO-LATIN-1.
6161
* <p>

src/main/java/org/apache/commons/codec/binary/Base32.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -551,10 +551,10 @@ public boolean isInAlphabet(final byte octet) {
551551
* <p>
552552
* Validates whether the character is possible in the context of the set of possible base 32 values.
553553
* </p>
554-
*
554+
*
555555
* @param numBits number of least significant bits to check
556556
* @param context the context to be used
557-
*
557+
*
558558
* @throws IllegalArgumentException if the bits being checked contain any non-zero value
559559
*/
560560
private void validateCharacter(int numBits, Context context) {

src/main/java/org/apache/commons/codec/binary/Base64.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -787,10 +787,10 @@ protected boolean isInAlphabet(final byte octet) {
787787
* <p>
788788
* Validates whether the character is possible in the context of the set of possible base 64 values.
789789
* </p>
790-
*
790+
*
791791
* @param numBits number of least significant bits to check
792792
* @param context the context to be used
793-
*
793+
*
794794
* @throws IllegalArgumentException if the bits being checked contain any non-zero value
795795
*/
796796
private long validateCharacter(int numBitsToDrop, Context context) {

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

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -19,18 +19,18 @@
1919

2020
/**
2121
* MurmurHash2 yields a 32-bit or 64-bit value.
22-
*
22+
*
2323
* MurmurHash is a non-cryptographic hash function suitable for general
2424
* hash-based lookup. The name comes from two basic operations, multiply (MU)
2525
* and rotate (R), used in its inner loop. Unlike cryptographic hash functions,
2626
* it is not specifically designed to be difficult to reverse by an adversary,
2727
* making it unsuitable for cryptographic purposes.
28-
*
28+
*
2929
* This is a re-implementation of the original C code plus some additional
3030
* features.
31-
*
31+
*
3232
* Public domain.
33-
*
33+
*
3434
* @see <a href="https://en.wikipedia.org/wiki/MurmurHash">MurmurHash</a>
3535
* @since 1.13
3636
*/
@@ -42,7 +42,7 @@ private MurmurHash2() {
4242

4343
/**
4444
* Generates 32 bit hash from byte array of the given length and seed.
45-
*
45+
*
4646
* @param data byte array to hash
4747
* @param length length of the array to hash
4848
* @param seed initial seed value
@@ -89,7 +89,7 @@ public static int hash32(final byte[] data, int length, int seed) {
8989

9090
/**
9191
* Generates 32 bit hash from byte array with default seed value.
92-
*
92+
*
9393
* @param data byte array to hash
9494
* @param length length of the array to hash
9595
* @return 32 bit hash of the given array
@@ -100,7 +100,7 @@ public static int hash32(final byte[] data, int length) {
100100

101101
/**
102102
* Generates 32 bit hash from a string.
103-
*
103+
*
104104
* @param text string to hash
105105
* @return 32 bit hash of the given string
106106
*/
@@ -111,7 +111,7 @@ public static int hash32(final String text) {
111111

112112
/**
113113
* Generates 32 bit hash from a substring.
114-
*
114+
*
115115
* @param text string to hash
116116
* @param from starting index
117117
* @param length length of the substring to hash
@@ -123,7 +123,7 @@ public static int hash32(final String text, int from, int length) {
123123

124124
/**
125125
* Generates 64 bit hash from byte array of the given length and seed.
126-
*
126+
*
127127
* @param data byte array to hash
128128
* @param length length of the array to hash
129129
* @param seed initial seed value
@@ -179,7 +179,7 @@ public static long hash64(final byte[] data, int length, int seed) {
179179

180180
/**
181181
* Generates 64 bit hash from byte array with default seed value.
182-
*
182+
*
183183
* @param data byte array to hash
184184
* @param length length of the array to hash
185185
* @return 64 bit hash of the given string
@@ -190,7 +190,7 @@ public static long hash64(final byte[] data, int length) {
190190

191191
/**
192192
* Generates 64 bit hash from a string.
193-
*
193+
*
194194
* @param text string to hash
195195
* @return 64 bit hash of the given string
196196
*/
@@ -201,7 +201,7 @@ public static long hash64(final String text) {
201201

202202
/**
203203
* Generates 64 bit hash from a substring.
204-
*
204+
*
205205
* @param text string to hash
206206
* @param from starting index
207207
* @param length length of the substring to hash

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

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@
1919

2020
/**
2121
* MurmurHash3 yields a 32-bit or 128-bit value.
22-
*
22+
*
2323
* MurmurHash is a non-cryptographic hash function suitable for general
2424
* hash-based lookup. The name comes from two basic operations, multiply (MU)
2525
* and rotate (R), used in its inner loop. Unlike cryptographic hash functions,
2626
* it is not specifically designed to be difficult to reverse by an adversary,
2727
* making it unsuitable for cryptographic purposes.
28-
*
28+
*
2929
* 32-bit Java port of
3030
* https://code.google.com/p/smhasher/source/browse/trunk/MurmurHash3.cpp#94
3131
* 128-bit Java port of
@@ -34,10 +34,10 @@
3434
* This is a public domain code with no copyrights. From homepage of MurmurHash
3535
* (https://code.google.com/p/smhasher/), "All MurmurHash versions are public
3636
* domain software, and the author disclaims all copyright to their code."
37-
*
37+
*
3838
* Copied from Apache Hive:
3939
* https://github.com/apache/hive/blob/master/storage-api/src/java/org/apache/hive/common/util/Murmur3.java
40-
*
40+
*
4141
* @see <a href="https://en.wikipedia.org/wiki/MurmurHash">MurmurHash</a>
4242
* @since 1.13
4343
*/
@@ -48,10 +48,10 @@ public final class MurmurHash3 {
4848

4949
/** TODO Replace on Java 8 with Integer.BYTES. */
5050
static final int INTEGER_BYTES = Integer.SIZE / Byte.SIZE;
51-
51+
5252
/** TODO Replace on Java 8 with Short.BYTES. */
5353
static final int SHORT_BYTES = Short.SIZE / Byte.SIZE;
54-
54+
5555
// from 64-bit linear congruential generator
5656
public static final long NULL_HASHCODE = 2862933555777941757L;
5757

@@ -81,7 +81,7 @@ private MurmurHash3() {
8181

8282
/**
8383
* Generates 32 bit hash from two longs with default seed value.
84-
*
84+
*
8585
* @param l0 long to hash
8686
* @param l1 long to hash
8787
* @return 32 bit hash
@@ -92,7 +92,7 @@ public static int hash32(long l0, long l1) {
9292

9393
/**
9494
* Generates 32 bit hash from a long with default seed value.
95-
*
95+
*
9696
* @param l0 long to hash
9797
* @return 32 bit hash
9898
*/
@@ -102,7 +102,7 @@ public static int hash32(long l0) {
102102

103103
/**
104104
* Generates 32 bit hash from a long with the given seed.
105-
*
105+
*
106106
* @param l0 long to hash
107107
* @param seed initial seed value
108108
* @return 32 bit hash
@@ -119,7 +119,7 @@ public static int hash32(long l0, int seed) {
119119

120120
/**
121121
* Generates 32 bit hash from two longs with the given seed.
122-
*
122+
*
123123
* @param l0 long to hash
124124
* @param l1 long to hash
125125
* @param seed initial seed value
@@ -239,7 +239,7 @@ public static long hash64(byte[] data) {
239239
/**
240240
* Murmur3 64-bit variant. This is essentially MSB 8 bytes of Murmur3 128-bit
241241
* variant.
242-
*
242+
*
243243
* @param data - input long
244244
* @return 64 bit hash
245245
*/
@@ -262,7 +262,7 @@ public static long hash64(long data) {
262262
/**
263263
* Murmur3 64-bit variant. This is essentially MSB 8 bytes of Murmur3 128-bit
264264
* variant.
265-
*
265+
*
266266
* @param data - input int
267267
* @return 64 bit hash
268268
*/
@@ -283,7 +283,7 @@ public static long hash64(int data) {
283283
/**
284284
* Murmur3 64-bit variant. This is essentially MSB 8 bytes of Murmur3 128-bit
285285
* variant.
286-
*
286+
*
287287
* @param data - input short
288288
* @return 64 bit hash
289289
*/

0 commit comments

Comments
 (0)