diff --git a/modules/javafx.graphics/src/main/java/com/sun/javafx/iio/javax/XImageLoader.java b/modules/javafx.graphics/src/main/java/com/sun/javafx/iio/javax/XImageLoader.java index 053b472ac8e..166ba0ad20a 100644 --- a/modules/javafx.graphics/src/main/java/com/sun/javafx/iio/javax/XImageLoader.java +++ b/modules/javafx.graphics/src/main/java/com/sun/javafx/iio/javax/XImageLoader.java @@ -213,8 +213,6 @@ yield new ImageFrame( case TYPE_USHORT_565_RGB -> "TYPE_USHORT_565_RGB"; case TYPE_USHORT_555_RGB -> "TYPE_USHORT_555_RGB"; case TYPE_USHORT_GRAY -> "TYPE_USHORT_GRAY"; - case TYPE_BYTE_BINARY -> "TYPE_BYTE_BINARY"; - case TYPE_BYTE_INDEXED -> "TYPE_BYTE_INDEXED"; default -> Integer.toString(image.getType()); }); };