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 2024/09/12 12:59:24 UTC

(commons-imaging) 01/22: Remove redundant keyword

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 0ececb46075ee5a43be98ba57c417279dc997aed
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Thu Sep 12 08:54:12 2024 -0400

    Remove redundant keyword
---
 .../org/apache/commons/imaging/formats/png/AbstractScanExpediter.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/java/org/apache/commons/imaging/formats/png/AbstractScanExpediter.java b/src/main/java/org/apache/commons/imaging/formats/png/AbstractScanExpediter.java
index 0517200b..890ea1a2 100644
--- a/src/main/java/org/apache/commons/imaging/formats/png/AbstractScanExpediter.java
+++ b/src/main/java/org/apache/commons/imaging/formats/png/AbstractScanExpediter.java
@@ -56,7 +56,7 @@ abstract class AbstractScanExpediter {
         this.bi = bi;
         this.pngColorType = pngColorType;
         this.bitDepth = bitDepth;
-        this.bytesPerPixel = this.getBitsToBytesRoundingUp(bitsPerPixel);
+        this.bytesPerPixel = getBitsToBytesRoundingUp(bitsPerPixel);
         this.bitsPerPixel = bitsPerPixel;
         this.pngChunkPlte = pngChunkPLTE;
         this.gammaCorrection = gammaCorrection;