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 4c28fb5575b2f2ac3b8fd9b59572741e39d36233 Author: Gary Gregory <[email protected]> AuthorDate: Tue Jul 4 09:52:13 2023 -0400 Use Java naming conventions --- .../org/apache/commons/imaging/formats/png/PngImageParser.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/org/apache/commons/imaging/formats/png/PngImageParser.java b/src/main/java/org/apache/commons/imaging/formats/png/PngImageParser.java index 5b6fa947..66919c44 100644 --- a/src/main/java/org/apache/commons/imaging/formats/png/PngImageParser.java +++ b/src/main/java/org/apache/commons/imaging/formats/png/PngImageParser.java @@ -304,14 +304,14 @@ public class PngImageParser extends ImageParser<PngImagingParameters> implement scanExpediter.drive(); if (iccProfile != null) { - final boolean is_srgb = new IccProfileParser().issRGB(iccProfile); - if (!is_srgb) { + final boolean isSrgb = new IccProfileParser().issRGB(iccProfile); + if (!isSrgb) { final ICC_ColorSpace cs = new ICC_ColorSpace(iccProfile); final ColorModel srgbCM = ColorModel.getRGBdefault(); - final ColorSpace cs_sRGB = srgbCM.getColorSpace(); + final ColorSpace csSrgb = srgbCM.getColorSpace(); - result = new ColorTools().convertBetweenColorSpaces(result, cs, cs_sRGB); + result = new ColorTools().convertBetweenColorSpaces(result, cs, csSrgb); } }
