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


The following commit(s) were added to refs/heads/master by this push:
     new 94fab77d Use +=
94fab77d is described below

commit 94fab77dd1336249ad50ec782d272446abdc2525
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Mon Jan 15 09:10:43 2024 -0500

    Use +=
---
 .../apache/commons/imaging/formats/png/ScanExpediterInterlaced.java | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git 
a/src/main/java/org/apache/commons/imaging/formats/png/ScanExpediterInterlaced.java
 
b/src/main/java/org/apache/commons/imaging/formats/png/ScanExpediterInterlaced.java
index 5f2918ef..d966becf 100644
--- 
a/src/main/java/org/apache/commons/imaging/formats/png/ScanExpediterInterlaced.java
+++ 
b/src/main/java/org/apache/commons/imaging/formats/png/ScanExpediterInterlaced.java
@@ -67,13 +67,13 @@ final class ScanExpediterInterlaced extends 
AbstractScanExpediter {
                     while (x < width) {
                         visit(x, y, bi, fBitParser, pixelIndexInScanline);
 
-                        x = x + COL_INCREMENT[pass - 1];
+                        x += COL_INCREMENT[pass - 1];
                         pixelIndexInScanline++;
                     }
                 }
-                y = y + ROW_INCREMENT[pass - 1];
+                y += ROW_INCREMENT[pass - 1];
             }
-            pass = pass + 1;
+            pass += 1;
         }
     }
 

Reply via email to