Permalink
Browse files

A few more warning removed.

  • Loading branch information...
Fabrice Bacchella
Fabrice Bacchella committed Apr 13, 2018
1 parent c0c2359 commit 62c4776a094ddfe423e08fdb89325f14ba6a1ad1
@@ -19,7 +19,7 @@
private JLabel stepsLabel = new JLabel("Steps: ");
private JLabel rowsLabel = new JLabel("Rows: ");
private JComboBox consolFunCombo = new JComboBox();
private JComboBox<ConsolFun> consolFunCombo = new JComboBox<>();
private JTextField xffField = new JTextField(FIELD_SIZE);
private JTextField stepsField = new JTextField(FIELD_SIZE);
private JTextField rowsField = new JTextField(FIELD_SIZE);
@@ -22,7 +22,7 @@
private JLabel maxLabel = new JLabel("Max value: ");
private JTextField nameField = new JTextField(FIELD_SIZE);
private JComboBox typeCombo = new JComboBox();
private JComboBox<DsType> typeCombo = new JComboBox<>();
private JTextField heartbeatField = new JTextField(FIELD_SIZE);
private JTextField minField = new JTextField(FIELD_SIZE);
private JTextField maxField = new JTextField(FIELD_SIZE);
@@ -22,7 +22,7 @@
private Color color = COLOR;
private GraphPanel graphPanel = new GraphPanel();
private JComboBox graphCombo = new JComboBox();
private JComboBox<GraphComboItem> graphCombo = new JComboBox<>();
private RrdGraph rrdGraph;
private String sourcePath;
@@ -115,7 +115,7 @@ private void fillGraphCombo() {
}
}
}
graphCombo.setModel(new DefaultComboBoxModel(items));
graphCombo.setModel(new DefaultComboBoxModel<GraphComboItem>(items));
graphCombo.setSelectedIndex(selectedItem);
}
finally {

0 comments on commit 62c4776

Please sign in to comment.