Skip to content

Commit 1b594c0

Browse files
committed
Fix typos
1 parent 564c47c commit 1b594c0

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -618,7 +618,7 @@ private void validateTrailingCharacters() {
618618
if (isStrictDecoding()) {
619619
throw new IllegalArgumentException(
620620
"Strict decoding: Last encoded character(s) (before the paddings if any) are valid base 32 alphabet but not a possible encoding. " +
621-
"Decoding requries either 2, 4, 5, or 7 trailing 5-bit characters to create bytes.");
621+
"Decoding requires either 2, 4, 5, or 7 trailing 5-bit characters to create bytes.");
622622
}
623623
}
624624
}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -841,7 +841,7 @@ private void validateTrailingCharacter() {
841841
if (isStrictDecoding()) {
842842
throw new IllegalArgumentException(
843843
"Strict decoding: Last encoded character (before the paddings if any) is a valid base 64 alphabet but not a possible encoding. " +
844-
"Decoding requries at least two trailing 6-bit characters to create bytes.");
844+
"Decoding requires at least two trailing 6-bit characters to create bytes.");
845845
}
846846
}
847847

0 commit comments

Comments
 (0)