Skip to content

Commit 301a69e

Browse files
Remove override declaration
1 parent 76de191 commit 301a69e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/assertthat/selenium_shutterbug/utils/image/ImageProcessor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ public static boolean imagesAreEqualsWithDiff(BufferedImage image1, BufferedImag
160160
throw new UnableToCompareImagesException("Images dimensions mismatch: image1 - " + width1 + "x" + height1 + "; image2 - " + width2 + "x" + height2);
161161
}
162162
long diff = 0;
163-
long recordedDiff = 0; // Records the difference so it can be compared, saves having to do three if statements
163+
long recordedDiff; // Records the difference so it can be compared, saves having to do three if statements
164164
for (int y = 0; y < height1; y++) {
165165
for (int x = 0; x < width1; x++) {
166166
recordedDiff = diff;

0 commit comments

Comments
 (0)