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/PanelHaz.java

    r29894 r30737  
    8282        public JRadioButton beaconButton = new JRadioButton(new ImageIcon(getClass().getResource("/images/BeaconButton.png")));
    8383        public JRadioButton towerButton = new JRadioButton(new ImageIcon(getClass().getResource("/images/TowerButton.png")));
    84         public EnumMap<Shp, JRadioButton> shapes = new EnumMap<Shp, JRadioButton>(Shp.class);
    85         public EnumMap<Shp, Obj> carObjects = new EnumMap<Shp, Obj>(Shp.class);
    86         public EnumMap<Shp, Obj> isdObjects = new EnumMap<Shp, Obj>(Shp.class);
     84        public EnumMap<Shp, JRadioButton> shapes = new EnumMap<>(Shp.class);
     85        public EnumMap<Shp, Obj> carObjects = new EnumMap<>(Shp.class);
     86        public EnumMap<Shp, Obj> isdObjects = new EnumMap<>(Shp.class);
    8787        private ActionListener alShape = new ActionListener() {
    8888                public void actionPerformed(java.awt.event.ActionEvent e) {
Note: See TracChangeset for help on using the changeset viewer.