Skip to content

Commit 0c6f86d

Browse files
Spelling
1 parent 6dd4780 commit 0c6f86d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -254,8 +254,8 @@ private static BufferedImage getCompatibleImage(int w, int h, BufferedImage sour
254254
public static boolean hasAlpha(Image image) {
255255
// If buffered image, the color model is readily available
256256
if (image instanceof BufferedImage) {
257-
BufferedImage bimage = (BufferedImage)image;
258-
return bimage.getColorModel().hasAlpha();
257+
BufferedImage bImage = (BufferedImage) image;
258+
return bImage.getColorModel().hasAlpha();
259259
}
260260
// Use a pixel grabber to retrieve the image's color model;
261261
// grabbing a single pixel is usually sufficient

0 commit comments

Comments
 (0)