--- a/jdk/src/share/classes/javax/swing/DefaultListCellRenderer.java Wed Nov 18 17:36:46 2009 +0300
+++ b/jdk/src/share/classes/javax/swing/DefaultListCellRenderer.java Mon Nov 23 20:57:17 2009 +0300
@@ -71,7 +71,7 @@
* @author Hans Muller
*/
public class DefaultListCellRenderer extends JLabel
- implements ListCellRenderer, Serializable
+ implements ListCellRenderer<Object>, Serializable
{
/**
@@ -111,7 +111,7 @@
}
public Component getListCellRendererComponent(
- JList list,
+ JList<?> list,
Object value,
int index,
boolean isSelected,