You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2026/01/16 12:14:00 UTC
(commons-codec) 03/03: Checkstyle
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
commit 3c961b83ead5140fbaffb1191692f943758ecdec
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Fri Jan 16 07:12:36 2026 -0500
Checkstyle
---
src/main/java/org/apache/commons/codec/binary/Base64.java | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
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 fcd2c8be..f9247d56 100644
--- a/src/main/java/org/apache/commons/codec/binary/Base64.java
+++ b/src/main/java/org/apache/commons/codec/binary/Base64.java
@@ -1176,8 +1176,8 @@ public class Base64 extends BaseNCodec {
*/
private void validateCharacter(final int emptyBitsMask, final Context context) {
if (isStrictDecoding() && (context.ibitWorkArea & emptyBitsMask) != 0) {
- throw new IllegalArgumentException("Strict decoding: Last encoded character (before the paddings if any) is a valid "
- + "Base64 alphabet but not a possible encoding. Expected the discarded bits from the character to be zero.");
+ throw new IllegalArgumentException("Strict decoding: Last encoded character (before the paddings if any) is a valid " +
+ "Base64 alphabet but not a possible encoding. Expected the discarded bits from the character to be zero.");
}
}
@@ -1188,8 +1188,8 @@ public class Base64 extends BaseNCodec {
*/
private void validateTrailingCharacter() {
if (isStrictDecoding()) {
- throw new IllegalArgumentException("Strict decoding: Last encoded character (before the paddings if any) is a valid "
- + "Base64 alphabet but not a possible encoding. Decoding requires at least two trailing 6-bit characters to create bytes.");
+ throw new IllegalArgumentException("Strict decoding: Last encoded character (before the paddings if any) is a valid " +
+ "Base64 alphabet but not a possible encoding. Decoding requires at least two trailing 6-bit characters to create bytes.");
}
}