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

pjfanning pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/poi.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 130d4273de Update IOUtils.java
130d4273de is described below

commit 130d4273dec10855b2cc4f8c0cb66b7d7c3b398f
Author: PJ Fanning <[email protected]>
AuthorDate: Thu Jun 4 10:59:36 2026 +0100

    Update IOUtils.java
---
 poi/src/main/java/org/apache/poi/util/IOUtils.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/poi/src/main/java/org/apache/poi/util/IOUtils.java 
b/poi/src/main/java/org/apache/poi/util/IOUtils.java
index 1b2d413d5e..2debe8e419 100644
--- a/poi/src/main/java/org/apache/poi/util/IOUtils.java
+++ b/poi/src/main/java/org/apache/poi/util/IOUtils.java
@@ -607,7 +607,7 @@ public final class IOUtils {
 
         if (offset < 0 || length < 0 || maxLength < 0) {
             throw new RecordFormatException("Invalid offset/length specified: "
-                    + "offset: " + offset + ", lenght: " + length + ", 
maxLength: " + maxLength);
+                    + "offset: " + offset + ", length: " + length + ", 
maxLength: " + maxLength);
         }
 
         int realLength = Math.min(src.length - offset, length);


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to