spelling: unsupported

Signed-off-by: Josh Soref <[email protected]>
This commit is contained in:
Josh Soref
2024-10-29 16:55:43 +01:00
committed by Jindra Petřík
parent 439f453182
commit 082a6fda92
3 changed files with 4 additions and 4 deletions
@@ -228,7 +228,7 @@ public class ImageHelper {
return "bmp";
}
throw new Error("Unsuported image format: " + format);
throw new Error("Unsupported image format: " + format);
}
/**
@@ -67,7 +67,7 @@ public class SerializableImage implements Serializable {
public SerializableImage(int width, int height, int imageType, int[] pixels) {
if (imageType != BufferedImage.TYPE_INT_ARGB_PRE && imageType != BufferedImage.TYPE_INT_RGB) {
throw new Error("Unsuppported image type: " + imageType);
throw new Error("Unsupported image type: " + imageType);
}
image = new BufferedImage(width, height, imageType);