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 44028af80ce40a2de7f5b721ed738ff2f7a13409 Author: Gary Gregory <[email protected]> AuthorDate: Tue Jul 4 15:31:29 2023 -0400 Use Java camel-case naming conventions --- src/main/java/org/apache/commons/imaging/formats/png/ScanExpediter.java | 2 +- .../org/apache/commons/imaging/formats/png/chunks/PngChunkPlte.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/apache/commons/imaging/formats/png/ScanExpediter.java b/src/main/java/org/apache/commons/imaging/formats/png/ScanExpediter.java index 6d258c50..812509c1 100644 --- a/src/main/java/org/apache/commons/imaging/formats/png/ScanExpediter.java +++ b/src/main/java/org/apache/commons/imaging/formats/png/ScanExpediter.java @@ -149,7 +149,7 @@ abstract class ScanExpediter { } final int index = bitParser.getSample(pixelIndexInScanline, 0); - int rgb = pngChunkPlte.getRGB(index); + int rgb = pngChunkPlte.getRgb(index); if (transparencyFilter != null) { rgb = transparencyFilter.filter(rgb, index); diff --git a/src/main/java/org/apache/commons/imaging/formats/png/chunks/PngChunkPlte.java b/src/main/java/org/apache/commons/imaging/formats/png/chunks/PngChunkPlte.java index 418e8373..f8ba69e4 100644 --- a/src/main/java/org/apache/commons/imaging/formats/png/chunks/PngChunkPlte.java +++ b/src/main/java/org/apache/commons/imaging/formats/png/chunks/PngChunkPlte.java @@ -74,7 +74,7 @@ public class PngChunkPlte extends PngChunk { // Debug.debug(); // } - public int getRGB(final int index) throws ImagingException { + public int getRgb(final int index) throws ImagingException { if ((index < 0) || (index >= rgb.length)) { throw new ImagingException("PNG: unknown Palette reference: " + index);
