Skip to content

Commit d6e8006

Browse files
committed
Remove extra blank lines
1 parent c6b9e15 commit d6e8006

13 files changed

Lines changed: 0 additions & 20 deletions

File tree

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,6 @@ public static byte[] getBytesIso8859_1(final String string) {
145145
return getBytes(string, StandardCharsets.ISO_8859_1);
146146
}
147147

148-
149148
/**
150149
* Encodes the given string into a sequence of bytes using the named charset, storing the result into a new byte
151150
* array.

src/main/java/org/apache/commons/codec/binary/package-info.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
* limitations under the License.
1616
*/
1717

18-
1918
/**
2019
* Base64, Base32, Binary, and Hexadecimal String encoding and decoding.
2120
*/

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -587,8 +587,6 @@ public static String sha512Crypt(final byte[] keyBytes, String salt) {
587587
return sha2Crypt(keyBytes, salt, SHA512_PREFIX, SHA512_BLOCKSIZE, MessageDigestAlgorithms.SHA_512);
588588
}
589589

590-
591-
592590
/**
593591
* Generates a libc6 crypt() compatible "$6$" hash value.
594592
* <p>

src/main/java/org/apache/commons/codec/language/Nysiis.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,6 @@ private static char[] transcodeRemaining(final char prev, final char curr, final
130130

131131
// 2. Q -> G, Z -> S, M -> N
132132

133-
134133
// 3. KN -> NN else K -> C
135134
switch (curr) {
136135
case 'Q':

src/main/java/org/apache/commons/codec/net/URLCodec.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,6 @@ public static final byte[] decodeUrl(final byte[] bytes) throws DecoderException
123123
return buffer.toByteArray();
124124
}
125125

126-
127126
/**
128127
* Encodes an array of bytes into an array of URL safe 7-bit characters. Unsafe characters are escaped.
129128
*
@@ -202,7 +201,6 @@ public byte[] decode(final byte[] bytes) throws DecoderException {
202201
return decodeUrl(bytes);
203202
}
204203

205-
206204
/**
207205
* Decodes a URL safe object into its original form. Escaped characters are converted back to their original
208206
* representation.
@@ -273,7 +271,6 @@ public String decode(final String str, final String charsetName)
273271
return new String(decode(StringUtils.getBytesUsAscii(str)), charsetName);
274272
}
275273

276-
277274
/**
278275
* Encodes an array of bytes into an array of URL safe 7-bit characters. Unsafe characters are escaped.
279276
*

src/test/java/org/apache/commons/codec/binary/Base32OutputStreamTest.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,6 @@ public class Base32OutputStreamTest {
3434

3535
private final static byte[] LF = {(byte) '\n'};
3636

37-
38-
3937
// /**
4038
// * Test the Base32OutputStream implementation against the special NPE inducing input
4139
// * identified in the CODEC-98 bug.
@@ -59,7 +57,6 @@ public class Base32OutputStreamTest {
5957
// );
6058
// }
6159

62-
6360
private void testBase32EmptyOutputStream(final int chunkSize) throws Exception {
6461
final byte[] emptyEncoded = {};
6562
final byte[] emptyDecoded = {};
@@ -107,7 +104,6 @@ public void testBase32OutputStreamByChunk() throws Exception {
107104
// decoded = new byte[]{(byte) 0};
108105
// testByChunk(encoded, decoded, Base32.MIME_CHUNK_SIZE, CRLF);
109106

110-
111107
// // Single Line test.
112108
// String singleLine = Base32TestData.ENCODED_64_CHARS_PER_LINE.replaceAll("\n", "");
113109
// encoded = StringUtils.getBytesUtf8(singleLine);
@@ -142,7 +138,6 @@ public void testBase32OutputStreamByteByByte() throws Exception {
142138
// decoded = new byte[]{(byte) 0};
143139
// testByteByByte(encoded, decoded, 76, CRLF);
144140

145-
146141
// // Single Line test.
147142
// String singleLine = Base32TestData.ENCODED_64_CHARS_PER_LINE.replaceAll("\n", "");
148143
// encoded = StringUtils.getBytesUtf8(singleLine);

src/test/java/org/apache/commons/codec/binary/Base64Codec13Test.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -482,7 +482,6 @@ public void testStaticEncode() {
482482
}
483483
}
484484

485-
486485
/**
487486
* Tests to make sure Base64's implementation of Base64.encodeBase64Chunked()
488487
* static method is behaving identical to commons-codec-1.3.jar.

src/test/java/org/apache/commons/codec/binary/Base64OutputStreamTest.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ private void testBase64EmptyOutputStream(final int chunkSize) throws Exception {
4747
testByChunk(emptyEncoded, emptyDecoded, chunkSize, CR_LF);
4848
}
4949

50-
5150
/**
5251
* Test the Base64OutputStream implementation against empty input.
5352
*

src/test/java/org/apache/commons/codec/binary/Base64TestData.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ public class Base64TestData {
3838
public static final String CODEC_98_NPE_DECODED =
3939
"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123";
4040

41-
4241
// OpenSSL doesn't include the final \n, but it would be annoying beyond belief
4342
// to further parameterize commons-codec to support this pointless variation.
4443
final static String ENCODED_64_CHARS_PER_LINE =

src/test/java/org/apache/commons/codec/digest/MurmurHash2Test.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717

1818
package org.apache.commons.codec.digest;
1919

20-
2120
import static org.junit.jupiter.api.Assertions.assertEquals;
2221
import static org.junit.jupiter.api.Assertions.fail;
2322

0 commit comments

Comments
 (0)