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 899d71497ec1f95ee23dd7377399df5c27fb234d Author: Gary Gregory <[email protected]> AuthorDate: Tue Jul 4 09:46:42 2023 -0400 Fix name for exception message --- .../apache/commons/imaging/formats/jpeg/segments/SofnSegment.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/org/apache/commons/imaging/formats/jpeg/segments/SofnSegment.java b/src/main/java/org/apache/commons/imaging/formats/jpeg/segments/SofnSegment.java index dde78e1d..92e831de 100644 --- a/src/main/java/org/apache/commons/imaging/formats/jpeg/segments/SofnSegment.java +++ b/src/main/java/org/apache/commons/imaging/formats/jpeg/segments/SofnSegment.java @@ -67,9 +67,9 @@ public class SofnSegment extends Segment { LOGGER.finest("SOF0Segment markerLength: " + markerLength); } - precision = readByte("Data_precision", is, "Not a Valid JPEG File"); - height = read2Bytes("Image_height", is, "Not a Valid JPEG File", getByteOrder()); - width = read2Bytes("Image_Width", is, "Not a Valid JPEG File", getByteOrder()); + precision = readByte("precision", is, "Not a Valid JPEG File"); + height = read2Bytes("height", is, "Not a Valid JPEG File", getByteOrder()); + width = read2Bytes("width", is, "Not a Valid JPEG File", getByteOrder()); numberOfComponents = readByte("Number_of_components", is, "Not a Valid JPEG File"); if (numberOfComponents < 0) {
