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

    r30532 r30737  
    4040        public JLabel visibilityLabel;
    4141        public JComboBox<String> visibilityBox;
    42         public EnumMap<Vis, Integer> visibilities = new EnumMap<Vis, Integer>(Vis.class);
     42        public EnumMap<Vis, Integer> visibilities = new EnumMap<>(Vis.class);
    4343        private ActionListener alVisibility = new ActionListener() {
    4444                public void actionPerformed(java.awt.event.ActionEvent e) {
     
    8080        public JLabel categoryLabel;
    8181        public JComboBox<String> categoryBox;
    82         public EnumMap<Lit, Integer> categories = new EnumMap<Lit, Integer>(Lit.class);
     82        public EnumMap<Lit, Integer> categories = new EnumMap<>(Lit.class);
    8383        private ActionListener alCategory = new ActionListener() {
    8484                public void actionPerformed(java.awt.event.ActionEvent e) {
     
    116116        public JLabel exhibitionLabel;
    117117        public JComboBox<String> exhibitionBox;
    118         public EnumMap<Exh, Integer> exhibitions = new EnumMap<Exh, Integer>(Exh.class);
     118        public EnumMap<Exh, Integer> exhibitions = new EnumMap<>(Exh.class);
    119119        private ActionListener alExhibition = new ActionListener() {
    120120                public void actionPerformed(java.awt.event.ActionEvent e) {
Note: See TracChangeset for help on using the changeset viewer.