Skip to content

Commit 3c961b8

Browse files
committed
Checkstyle
1 parent 99cf6b7 commit 3c961b8

File tree

1 file changed

+4
-4
lines changed
  • src/main/java/org/apache/commons/codec/binary

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1176,8 +1176,8 @@ public boolean isUrlSafe() {
11761176
*/
11771177
private void validateCharacter(final int emptyBitsMask, final Context context) {
11781178
if (isStrictDecoding() && (context.ibitWorkArea & emptyBitsMask) != 0) {
1179-
throw new IllegalArgumentException("Strict decoding: Last encoded character (before the paddings if any) is a valid "
1180-
+ "Base64 alphabet but not a possible encoding. Expected the discarded bits from the character to be zero.");
1179+
throw new IllegalArgumentException("Strict decoding: Last encoded character (before the paddings if any) is a valid " +
1180+
"Base64 alphabet but not a possible encoding. Expected the discarded bits from the character to be zero.");
11811181
}
11821182
}
11831183

@@ -1188,8 +1188,8 @@ private void validateCharacter(final int emptyBitsMask, final Context context) {
11881188
*/
11891189
private void validateTrailingCharacter() {
11901190
if (isStrictDecoding()) {
1191-
throw new IllegalArgumentException("Strict decoding: Last encoded character (before the paddings if any) is a valid "
1192-
+ "Base64 alphabet but not a possible encoding. Decoding requires at least two trailing 6-bit characters to create bytes.");
1191+
throw new IllegalArgumentException("Strict decoding: Last encoded character (before the paddings if any) is a valid " +
1192+
"Base64 alphabet but not a possible encoding. Decoding requires at least two trailing 6-bit characters to create bytes.");
11931193
}
11941194
}
11951195

0 commit comments

Comments
 (0)