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

Print this page
rev 9717 : 8039642: Fix raw and unchecked warnings in sun.awt.*
Reviewed-by:

@@ -183,11 +183,11 @@
      * to the newly created image.
      */
     protected BufferedImage createImage(ColorModel cm,
                                         WritableRaster raster,
                                         boolean isRasterPremultiplied,
-                                        Hashtable properties)
+                                        Hashtable<?,?> properties)
     {
         BufferedImage bi =
             new BufferedImage(cm, raster, isRasterPremultiplied, null);
         bi.setAccelerationPriority(image.getAccelerationPriority());
         return bi;