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

    r30532 r30737  
    4545        public JLabel statusLabel;
    4646        public JComboBox<String> statusBox;
    47         public EnumMap<Sts, Integer> statuses = new EnumMap<Sts, Integer>(Sts.class);
     47        public EnumMap<Sts, Integer> statuses = new EnumMap<>(Sts.class);
    4848        private ActionListener alStatus = new ActionListener() {
    4949                public void actionPerformed(java.awt.event.ActionEvent e) {
     
    5757        public JLabel constrLabel;
    5858        public JComboBox<String> constrBox;
    59         public EnumMap<Cns, Integer> constructions = new EnumMap<Cns, Integer>(Cns.class);
     59        public EnumMap<Cns, Integer> constructions = new EnumMap<>(Cns.class);
    6060        private ActionListener alConstr = new ActionListener() {
    6161                public void actionPerformed(java.awt.event.ActionEvent e) {
     
    6969        public JLabel conLabel;
    7070        public JComboBox<String> conBox;
    71         public EnumMap<Con, Integer> conspicuities = new EnumMap<Con, Integer>(Con.class);
     71        public EnumMap<Con, Integer> conspicuities = new EnumMap<>(Con.class);
    7272        private ActionListener alCon = new ActionListener() {
    7373                public void actionPerformed(java.awt.event.ActionEvent e) {
     
    8181        public JLabel reflLabel;
    8282        public JComboBox<String> reflBox;
    83         public EnumMap<Con, Integer> reflectivities = new EnumMap<Con, Integer>(Con.class);
     83        public EnumMap<Con, Integer> reflectivities = new EnumMap<>(Con.class);
    8484        private ActionListener alRefl = new ActionListener() {
    8585                public void actionPerformed(java.awt.event.ActionEvent e) {
Note: See TracChangeset for help on using the changeset viewer.