diff options
author | Keith Packard <keithp@keithp.com> | 2014-05-25 20:47:49 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2014-05-25 20:52:37 -0700 |
commit | 4ac7797d3efb9cc2d9fae88519f55e40b1050224 (patch) | |
tree | 5348eaabf15e552eb3b4f37dfee4190d4cc05979 /altosui/AltosCSVUI.java | |
parent | b60a3689910731d9bdb8a431a3dcc9e99f961b35 (diff) |
altosui/altosuilib: Cleanup -Xlint:unchecked warnings
Add parametric types to avoid unchecked warnings.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altosui/AltosCSVUI.java')
-rw-r--r-- | altosui/AltosCSVUI.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/altosui/AltosCSVUI.java b/altosui/AltosCSVUI.java index 05cabcdf..95a8aeea 100644 --- a/altosui/AltosCSVUI.java +++ b/altosui/AltosCSVUI.java @@ -30,7 +30,7 @@ public class AltosCSVUI { JFileChooser csv_chooser; JPanel accessory; - JComboBox combo_box; + JComboBox<String> combo_box; Iterable<AltosState> states; AltosWriter writer; @@ -73,7 +73,7 @@ public class AltosCSVUI c.gridy = 0; accessory.add(accessory_label, c); - combo_box = new JComboBox(combo_box_items); + combo_box = new JComboBox<String>(combo_box_items); combo_box.addActionListener(this); c.gridx = 0; c.gridy = 1; |