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 752d2a78617b42fc2aed6dd333b9184c374f5773 Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Tue Jul 4 15:25:36 2023 -0400 No need to initialize to default value --- src/main/java/org/apache/commons/imaging/ColorTools.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/org/apache/commons/imaging/ColorTools.java b/src/main/java/org/apache/commons/imaging/ColorTools.java index 59446ab9..cfee38bc 100644 --- a/src/main/java/org/apache/commons/imaging/ColorTools.java +++ b/src/main/java/org/apache/commons/imaging/ColorTools.java @@ -90,7 +90,7 @@ public class ColorTools { } - public BufferedImage convertBetweenICCProfiles(final BufferedImage bi, final ICC_Profile from, final ICC_Profile to) { + public BufferedImage convertBetweenIccProfiles(final BufferedImage bi, final ICC_Profile from, final ICC_Profile to) { final ICC_ColorSpace csFrom = new ICC_ColorSpace(from); final ICC_ColorSpace csTo = new ICC_ColorSpace(to); @@ -121,12 +121,12 @@ public class ColorTools { return result; } - public BufferedImage convertToICCProfile(final BufferedImage bi, final ICC_Profile to) { + public BufferedImage convertToIccProfile(final BufferedImage bi, final ICC_Profile to) { final ICC_ColorSpace csTo = new ICC_ColorSpace(to); return convertToColorSpace(bi, csTo); } - public BufferedImage convertTosRGB(final BufferedImage bi) { + public BufferedImage convertTosRgb(final BufferedImage bi) { final ColorModel srgbCM = ColorModel.getRGBdefault(); return convertToColorSpace(bi, srgbCM.getColorSpace()); }