< prev index next >

src/share/classes/javax/swing/LayoutFocusTraversalPolicy.java

Print this page
rev 1527 : 6727662: Code improvement and warnings removing from swing packages
Summary: Removed unnecessary castings and other warnings
Reviewed-by: malenkov

@@ -63,11 +63,11 @@
 
     /**
      * Constructs a LayoutFocusTraversalPolicy with the passed in
      * <code>Comparator</code>.
      */
-    LayoutFocusTraversalPolicy(Comparator c) {
+    LayoutFocusTraversalPolicy(Comparator<? super Component> c) {
         super(c);
     }
 
     /**
      * Returns the Component that should receive the focus after aComponent.
< prev index next >