src/share/classes/javax/swing/plaf/basic/BasicLookAndFeel.java

Print this page

        

@@ -1859,11 +1859,11 @@
 
     /**
      * Returns the ui that is of type <code>klass</code>, or null if
      * one can not be found.
      */
-    static Object getUIOfType(ComponentUI ui, Class klass) {
+    static Object getUIOfType(ComponentUI ui, Class<?> klass) {
         if (klass.isInstance(ui)) {
             return ui;
         }
         return null;
     }