< prev index next >

src/com/sun/javatest/mrep/BrowserPane.java

Print this page
rev 145 : 7902237: Fixing raw use of parameterized class
Reviewed-by: jjg

*** 560,570 **** } //------------------------------------------------------------------------------------ private class Renderer extends DefaultListCellRenderer { ! public Component getListCellRendererComponent(JList list, Object o, int index, boolean isSelected, boolean cellHasFocus) { String name = null; if (o instanceof URL) { URL url = (URL) o; // if not file URL --- 560,570 ---- } //------------------------------------------------------------------------------------ private class Renderer extends DefaultListCellRenderer { ! public Component getListCellRendererComponent(JList<?> list, Object o, int index, boolean isSelected, boolean cellHasFocus) { String name = null; if (o instanceof URL) { URL url = (URL) o; // if not file URL
< prev index next >