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 <gardgreg...@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;

Reply via email to