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 2021/01/11 05:52:59 UTC

[commons-io] 01/02: 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-io.git

commit 3cd15b6ebe43e8f0fcc9b24f42d655d7f1c1e2b2
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Mon Jan 11 00:52:08 2021 -0500

    Typo in exception message.
---
 src/main/java/org/apache/commons/io/IOUtils.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/java/org/apache/commons/io/IOUtils.java b/src/main/java/org/apache/commons/io/IOUtils.java
index f0294c8..4335885 100644
--- a/src/main/java/org/apache/commons/io/IOUtils.java
+++ b/src/main/java/org/apache/commons/io/IOUtils.java
@@ -2286,7 +2286,7 @@ public class IOUtils {
         }
 
         if (offset != size) {
-            throw new IOException("Unexpected read size. current: " + offset + ", expected: " + size);
+            throw new IOException("Unexpected read size, current: " + offset + ", expected: " + size);
         }
 
         return data;