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/AltosChannelMenu.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/AltosChannelMenu.java')
-rw-r--r-- | altosui/AltosChannelMenu.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/altosui/AltosChannelMenu.java b/altosui/AltosChannelMenu.java index f90a11c0..382b6ae4 100644 --- a/altosui/AltosChannelMenu.java +++ b/altosui/AltosChannelMenu.java @@ -20,7 +20,7 @@ package altosui; import java.awt.event.*; import javax.swing.*; -public class AltosChannelMenu extends JComboBox implements ActionListener { +public class AltosChannelMenu extends JComboBox<String> implements ActionListener { int channel; public AltosChannelMenu(int current_channel) { |