Ignore:
Timestamp:
2014-10-18T23:07:52+02:00 (11 years ago)
Author:
donvip
Message:

[josm_plugins] fix Java 7 / unused code warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/smed/src/panels/PanelRadar.java

    r30532 r30737  
    2929        };
    3030        private JComboBox<String> radioCatBox;
    31         private EnumMap<Cat, Integer> radioCats = new EnumMap<Cat, Integer>(Cat.class);
     31        private EnumMap<Cat, Integer> radioCats = new EnumMap<>(Cat.class);
    3232        private ActionListener alRadioCatBox = new ActionListener() {
    3333                public void actionPerformed(java.awt.event.ActionEvent e) {
     
    4646        public JRadioButton raconButton = new JRadioButton(new ImageIcon(getClass().getResource("/images/RaconButton.png")));
    4747        public JRadioButton leadingButton = new JRadioButton(new ImageIcon(getClass().getResource("/images/LeadingRaconButton.png")));
    48         private EnumMap<Rtb, JRadioButton> rads = new EnumMap<Rtb, JRadioButton>(Rtb.class);
     48        private EnumMap<Rtb, JRadioButton> rads = new EnumMap<>(Rtb.class);
    4949        private ActionListener alRad = new ActionListener() {
    5050                public void actionPerformed(java.awt.event.ActionEvent e) {
Note: See TracChangeset for help on using the changeset viewer.