< prev index next >
src/com/sun/javatest/exec/QuickStartWizard.java
Print this page
@@ -363,11 +363,11 @@
private JButton backBtn;
private JButton nextBtn;
private JButton doneBtn;
private Listener listener = new Listener();
private KeyStroke enterKey = KeyStroke.getKeyStroke(KeyEvent.VK_ENTER, 0);
- private Vector history = new Vector();
+ private Vector<Pane> history = new Vector<>();
private boolean allowConfigLoadOutsideDefault;
private File defaultConfigSavePath;
private boolean allowConfigSaveOutsideDefault;
private File defaultConfigLoadPath;
@@ -534,11 +534,11 @@
}
}
private JLabel label;
private JTextField field;
- private JComboBox combo;
+ private JComboBox<String> combo;
private JComponent currPathComp;
private JButton button;
private DocumentListener listener;
}
@@ -948,11 +948,11 @@
// update file with suggestions based on -
// - config template
// - installation directory and its parent
// - current directory
- Set s = new TreeSet();
+ Set<String> s = new TreeSet<>();
if (configData != null) {
String configTestSuite = (String) (configData.get("TESTSUITE"));
if (configTestSuite != null)
s.add(configTestSuite);
}
< prev index next >