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 2023/10/19 14:24:05 UTC

[commons-compress] 07/11: Fix typo in exception message

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-compress.git

commit d6675733455c7d95a5e311a7af6cdb929bbe5a0c
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Thu Oct 19 08:51:05 2023 -0400

    Fix typo in exception message
---
 .../org/apache/commons/compress/archivers/ArchiveStreamFactory.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/java/org/apache/commons/compress/archivers/ArchiveStreamFactory.java b/src/main/java/org/apache/commons/compress/archivers/ArchiveStreamFactory.java
index f718870b..80f7619d 100644
--- a/src/main/java/org/apache/commons/compress/archivers/ArchiveStreamFactory.java
+++ b/src/main/java/org/apache/commons/compress/archivers/ArchiveStreamFactory.java
@@ -431,7 +431,7 @@ public class ArchiveStreamFactory implements ArchiveStreamProvider {
             final String actualEncoding) throws ArchiveException {
 
         if (archiverName == null) {
-            throw new IllegalArgumentException("Archivername must not be null.");
+            throw new IllegalArgumentException("Archiver name must not be null.");
         }
 
         if (in == null) {