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/07/04 14:24:47 UTC
[commons-imaging] 01/28: Fix name for 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-imaging.git
commit 303e5550bb37b356914638d8190e11dba92e7bc2
Author: Gary Gregory <ga...@gmail.com>
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");
}