1
0
mirror of https://github.com/sethm/symon.git synced 2024-06-07 19:29:27 +00:00

Silence a compiler warning regarding generics

This commit is contained in:
Maik Merten 2014-07-19 17:40:19 +02:00
parent 252ebe0569
commit 72074b9715

View File

@ -113,7 +113,7 @@ public class Simulator {
private JButton runStopButton;
private JButton stepButton;
private JButton resetButton;
private JComboBox stepCountBox;
private JComboBox<String> stepCountBox;
private JFileChooser fileChooser;
private PreferencesDialog preferences;
@ -158,7 +158,7 @@ public class Simulator {
stepButton = new JButton("Step");
resetButton = new JButton("Reset");
stepCountBox = new JComboBox(STEPS);
stepCountBox = new JComboBox<String>(STEPS);
stepCountBox.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent actionEvent) {
try {