src/share/classes/sun/awt/image/PixelConverter.java

Print this page

        

@@ -51,10 +51,11 @@
 
     protected int alphaMask = 0;
 
     protected PixelConverter() {}
 
+    @SuppressWarnings("fallthrough")
     public int rgbToPixel(int rgb, ColorModel cm) {
         Object obj = cm.getDataElements(rgb, null);
         switch (cm.getTransferType()) {
         case DataBuffer.TYPE_BYTE:
             byte[] bytearr = (byte[]) obj;