forked from amazingfate/loongoffice
Java5 update, Convert ArrayList and Vector code to use generics
Change-Id: I6cf6fa8e55005ffdc1d173aeee1e374efbb214fd
This commit is contained in:
committed by
Michael Stahl
parent
e3d9ff3fd0
commit
a5ff5aad59
@ -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());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user