< prev index next >

src/com/sun/javatest/exec/FileSystemTableModel.java

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

*** 40,50 **** // Names of the columns. // TODO - i18! static protected String[] cNames = {"File Name", "Name", "Description"}; // Types of the columns. ! static protected Class[] cTypes = { String.class, String.class, String.class}; private FileTableFilter filter = null; private FileTableNode root; --- 40,50 ---- // Names of the columns. // TODO - i18! static protected String[] cNames = {"File Name", "Name", "Description"}; // Types of the columns. ! static protected Class<?>[] cTypes = { String.class, String.class, String.class}; private FileTableFilter filter = null; private FileTableNode root;
*** 80,90 **** public String getColumnName(int column) { return cNames[column]; } ! public Class getColumnClass(int column) { return cTypes[column]; } private void setFilter(FileTableFilter flt) { filter = flt; --- 80,90 ---- public String getColumnName(int column) { return cNames[column]; } ! public Class<?> getColumnClass(int column) { return cTypes[column]; } private void setFilter(FileTableFilter flt) { filter = flt;
< prev index next >