Skip to content

Commit 8046a57

Browse files
lint: Java style (codacy): method DiffImage --> diffImage
1 parent 4c56781 commit 8046a57

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/test/e2e/core/E2eTestBase.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ protected String referenceImage(String path) throws MalformedURLException {
2323
}
2424

2525
protected float diffImage(File file, String fileURL) throws MalformedURLException, IOException {
26-
return ImageUtils.DiffImage(file, new URL(fileURL));
26+
return ImageUtils.diffImage(file, new URL(fileURL));
2727
}
2828

2929
protected float diffImageWithProcessingReference(File file, String referenceURL)

src/test/e2e/util/ImageUtils.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414
* @author github.com/gaocegege
1515
*/
1616
public class ImageUtils {
17-
public static float DiffImage(File actualFile, URL testURL) throws IOException {
17+
18+
public static float diffImage(File actualFile, URL testURL) throws IOException {
1819
PImage actualImage = new PImage(ImageIO.read(actualFile));
1920
PImage testImage = new PImage(ImageIO.read(testURL));
2021

0 commit comments

Comments
 (0)