You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ah...@apache.org on 2020/06/30 14:16:40 UTC

[commons-codec] 04/18: Fix typos

This is an automated email from the ASF dual-hosted git repository.

aherbert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-codec.git

commit 1b594c035d79b579819753938f5e53d9435b38b8
Author: Adam Retter <ad...@googlemail.com>
AuthorDate: Tue Apr 21 12:19:54 2020 +0200

    Fix typos
---
 src/main/java/org/apache/commons/codec/binary/Base32.java | 2 +-
 src/main/java/org/apache/commons/codec/binary/Base64.java | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main/java/org/apache/commons/codec/binary/Base32.java b/src/main/java/org/apache/commons/codec/binary/Base32.java
index 845206f..cae0b37 100644
--- a/src/main/java/org/apache/commons/codec/binary/Base32.java
+++ b/src/main/java/org/apache/commons/codec/binary/Base32.java
@@ -618,7 +618,7 @@ public class Base32 extends BaseNCodec {
         if (isStrictDecoding()) {
             throw new IllegalArgumentException(
                 "Strict decoding: Last encoded character(s) (before the paddings if any) are valid base 32 alphabet but not a possible encoding. " +
-                "Decoding requries either 2, 4, 5, or 7 trailing 5-bit characters to create bytes.");
+                "Decoding requires either 2, 4, 5, or 7 trailing 5-bit characters to create bytes.");
         }
     }
 }
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 72cff5f..76a14d2 100644
--- a/src/main/java/org/apache/commons/codec/binary/Base64.java
+++ b/src/main/java/org/apache/commons/codec/binary/Base64.java
@@ -841,7 +841,7 @@ public class Base64 extends BaseNCodec {
         if (isStrictDecoding()) {
             throw new IllegalArgumentException(
                 "Strict decoding: Last encoded character (before the paddings if any) is a valid base 64 alphabet but not a possible encoding. " +
-                "Decoding requries at least two trailing 6-bit characters to create bytes.");
+                "Decoding requires at least two trailing 6-bit characters to create bytes.");
         }
     }