Java5 update, Convert ArrayList and Vector code to use generics

Change-Id: I6cf6fa8e55005ffdc1d173aeee1e374efbb214fd
This commit is contained in:
Noel Grandin
2012-09-07 09:42:15 +02:00
committed by Michael Stahl
parent e3d9ff3fd0
commit a5ff5aad59
36 changed files with 197 additions and 197 deletions

View File

@ -79,7 +79,7 @@ public class MethodParametersDialog extends JDialog{
}
public Vector getMethodObjects() {
public Vector<Object> getMethodObjects() {
super.setModal(true);
addBorderPanel(getContentPane(), BorderLayout.NORTH);
addBorderPanel(getContentPane(), BorderLayout.WEST);
@ -108,7 +108,7 @@ public class MethodParametersDialog extends JDialog{
m_aParameterPanels[0].getInputComponent().requestFocusInWindow();
setVisible(true);
if (!bisdiposed){
Vector aMethodObjects = new Vector();
Vector<Object> aMethodObjects = new Vector<Object>();
for (int i = 0; i < m_aParameterPanels.length; i++){
aMethodObjects.add(m_aParameterPanels[i].getValue());
}