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

commit 303e5550bb37b356914638d8190e11dba92e7bc2
Author: Gary Gregory <[email protected]>
AuthorDate: Tue Jul 4 09:44:24 2023 -0400

    Fix name for exception message
---
 .../java/org/apache/commons/imaging/formats/gif/GifImageParser.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/src/main/java/org/apache/commons/imaging/formats/gif/GifImageParser.java 
b/src/main/java/org/apache/commons/imaging/formats/gif/GifImageParser.java
index ba34704f..2112b760 100644
--- a/src/main/java/org/apache/commons/imaging/formats/gif/GifImageParser.java
+++ b/src/main/java/org/apache/commons/imaging/formats/gif/GifImageParser.java
@@ -895,7 +895,7 @@ public class GifImageParser extends 
ImageParser<GifImagingParameters> implements
     }
 
     private byte[] readSubBlock(final InputStream is) throws IOException {
-        final int blockSize = 0xff & readByte("block_size", is, "GIF: corrupt 
block");
+        final int blockSize = 0xff & readByte("blockSize", is, "GIF: corrupt 
block");
 
         return readBytes("block", is, blockSize, "GIF: corrupt block");
     }

Reply via email to