Ignore:
Timestamp:
2014-10-18T23:07:52+02:00 (10 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/PanelCol.java

    r29894 r30737  
    3434        public JRadioButton magentaButton = new JRadioButton(new ImageIcon(getClass().getResource("/images/MagentaButton.png")));
    3535        public JRadioButton pinkButton = new JRadioButton(new ImageIcon(getClass().getResource("/images/PinkButton.png")));
    36         public EnumMap<Col, JRadioButton> colours = new EnumMap<Col, JRadioButton>(Col.class);
     36        public EnumMap<Col, JRadioButton> colours = new EnumMap<>(Col.class);
    3737        private ActionListener alColour = new ActionListener() {
    3838                public void actionPerformed(java.awt.event.ActionEvent e) {
     
    9494        private JPanel stack;
    9595        private ButtonGroup stackColours = new ButtonGroup();
    96         private ArrayList<JRadioButton> stackCol = new ArrayList<JRadioButton>();
     96        private ArrayList<JRadioButton> stackCol = new ArrayList<>();
    9797        private int stackIdx = 0;
    9898        private ActionListener alStack = new ActionListener() {
Note: See TracChangeset for help on using the changeset viewer.