spelling: unsupported

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
Josh Soref
2024-10-22 10:11:53 -04:00
committed by Jindra Petřík
parent 439f453182
commit 082a6fda92
3 changed files with 4 additions and 4 deletions

View File

@@ -228,7 +228,7 @@ public class ImageHelper {
return "bmp";
}
throw new Error("Unsuported image format: " + format);
throw new Error("Unsupported image format: " + format);
}
/**

View File

@@ -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);