Cleaned up a few more type safety bits.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2349 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
@@ -339,7 +339,7 @@ public class ObjectEditorTable extends JTable
|
|||||||
}
|
}
|
||||||
|
|
||||||
// documentation inherited
|
// documentation inherited
|
||||||
public Class getColumnClass (int col)
|
public Class<?> getColumnClass (int col)
|
||||||
{
|
{
|
||||||
return _interp.getClass(_fields[col]);
|
return _interp.getClass(_fields[col]);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -72,7 +72,7 @@ public class TableMap extends AbstractTableModel
|
|||||||
return model.getColumnName(aColumn);
|
return model.getColumnName(aColumn);
|
||||||
}
|
}
|
||||||
|
|
||||||
public Class getColumnClass(int aColumn) {
|
public Class<?> getColumnClass(int aColumn) {
|
||||||
return model.getColumnClass(aColumn);
|
return model.getColumnClass(aColumn);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -285,7 +285,7 @@ public class TableSorter extends AbstractTableModel {
|
|||||||
return tableModel.getColumnName(column);
|
return tableModel.getColumnName(column);
|
||||||
}
|
}
|
||||||
|
|
||||||
public Class getColumnClass(int column) {
|
public Class<?> getColumnClass(int column) {
|
||||||
return tableModel.getColumnClass(column);
|
return tableModel.getColumnClass(column);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -121,8 +121,8 @@ public class PropertiesUtil
|
|||||||
return source.getProperty(dprefix + key,
|
return source.getProperty(dprefix + key,
|
||||||
source.getProperty(key, defaultValue));
|
source.getProperty(key, defaultValue));
|
||||||
}
|
}
|
||||||
public Enumeration propertyNames () {
|
public Enumeration<?> propertyNames () {
|
||||||
return new Enumeration() {
|
return new Enumeration<Object>() {
|
||||||
public boolean hasMoreElements () {
|
public boolean hasMoreElements () {
|
||||||
return next != null;
|
return next != null;
|
||||||
}
|
}
|
||||||
@@ -144,7 +144,7 @@ public class PropertiesUtil
|
|||||||
}
|
}
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
protected Enumeration senum = source.propertyNames();
|
protected Enumeration<?> senum = source.propertyNames();
|
||||||
protected Object next = findNext();
|
protected Object next = findNext();
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user