Changeset 30737 in osm for applications/editors/josm/plugins/smed/src
- Timestamp:
- 2014-10-18T23:07:52+02:00 (10 years ago)
- Location:
- applications/editors/josm/plugins/smed/src
- Files:
-
- 16 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/smed/src/panels/PanelChr.java
r29894 r30737 36 36 public JToggleButton morseButton = new JToggleButton(new ImageIcon(getClass().getResource("/images/MorseButton.png"))); 37 37 public JToggleButton alternatingButton = new JToggleButton(new ImageIcon(getClass().getResource("/images/AlternatingButton.png"))); 38 private EnumMap<Chr, JToggleButton> buttons = new EnumMap< Chr, JToggleButton>(Chr.class);38 private EnumMap<Chr, JToggleButton> buttons = new EnumMap<>(Chr.class); 39 39 private ActionListener alCharButton = new ActionListener() { 40 40 public void actionPerformed(java.awt.event.ActionEvent e) { -
applications/editors/josm/plugins/smed/src/panels/PanelCol.java
r29894 r30737 34 34 public JRadioButton magentaButton = new JRadioButton(new ImageIcon(getClass().getResource("/images/MagentaButton.png"))); 35 35 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); 37 37 private ActionListener alColour = new ActionListener() { 38 38 public void actionPerformed(java.awt.event.ActionEvent e) { … … 94 94 private JPanel stack; 95 95 private ButtonGroup stackColours = new ButtonGroup(); 96 private ArrayList<JRadioButton> stackCol = new ArrayList< JRadioButton>();96 private ArrayList<JRadioButton> stackCol = new ArrayList<>(); 97 97 private int stackIdx = 0; 98 98 private ActionListener alStack = new ActionListener() { -
applications/editors/josm/plugins/smed/src/panels/PanelFog.java
r29894 r30737 24 24 public JRadioButton gongButton = new JRadioButton(new ImageIcon(getClass().getResource("/images/FogGongButton.png"))); 25 25 public JRadioButton explosButton = new JRadioButton(new ImageIcon(getClass().getResource("/images/FogExplosButton.png"))); 26 private EnumMap<Fog, JRadioButton> fogs = new EnumMap< Fog, JRadioButton>(Fog.class);26 private EnumMap<Fog, JRadioButton> fogs = new EnumMap<>(Fog.class); 27 27 private ActionListener alFog = new ActionListener() { 28 28 public void actionPerformed(java.awt.event.ActionEvent e) { -
applications/editors/josm/plugins/smed/src/panels/PanelHaz.java
r29894 r30737 82 82 public JRadioButton beaconButton = new JRadioButton(new ImageIcon(getClass().getResource("/images/BeaconButton.png"))); 83 83 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); 87 87 private ActionListener alShape = new ActionListener() { 88 88 public void actionPerformed(java.awt.event.ActionEvent e) { -
applications/editors/josm/plugins/smed/src/panels/PanelLights.java
r30532 r30737 19 19 20 20 public JComboBox<String> landCatBox; 21 public EnumMap<Cat, Integer> landCats = new EnumMap< Cat, Integer>(Cat.class);21 public EnumMap<Cat, Integer> landCats = new EnumMap<>(Cat.class); 22 22 private ActionListener alLandCatBox = new ActionListener() { 23 23 public void actionPerformed(java.awt.event.ActionEvent e) { … … 32 32 }; 33 33 public JComboBox<String> trafficCatBox; 34 public EnumMap<Cat, Integer> trafficCats = new EnumMap< Cat, Integer>(Cat.class);34 public EnumMap<Cat, Integer> trafficCats = new EnumMap<>(Cat.class); 35 35 private ActionListener alTrafficCatBox = new ActionListener() { 36 36 public void actionPerformed(java.awt.event.ActionEvent e) { … … 45 45 }; 46 46 public JComboBox<String> warningCatBox; 47 public EnumMap<Cat, Integer> warningCats = new EnumMap< Cat, Integer>(Cat.class);47 public EnumMap<Cat, Integer> warningCats = new EnumMap<>(Cat.class); 48 48 private ActionListener alWarningCatBox = new ActionListener() { 49 49 public void actionPerformed(java.awt.event.ActionEvent e) { … … 58 58 }; 59 59 public JComboBox<String> platformCatBox; 60 public EnumMap<Cat, Integer> platformCats = new EnumMap< Cat, Integer>(Cat.class);60 public EnumMap<Cat, Integer> platformCats = new EnumMap<>(Cat.class); 61 61 private ActionListener alPlatformCatBox = new ActionListener() { 62 62 public void actionPerformed(java.awt.event.ActionEvent e) { … … 71 71 }; 72 72 public JComboBox<String> pilotCatBox; 73 public EnumMap<Cat, Integer> pilotCats = new EnumMap< Cat, Integer>(Cat.class);73 public EnumMap<Cat, Integer> pilotCats = new EnumMap<>(Cat.class); 74 74 private ActionListener alPilotCatBox = new ActionListener() { 75 75 public void actionPerformed(java.awt.event.ActionEvent e) { … … 84 84 }; 85 85 public JComboBox<String> rescueCatBox; 86 public EnumMap<Cat, Integer> rescueCats = new EnumMap< Cat, Integer>(Cat.class);86 public EnumMap<Cat, Integer> rescueCats = new EnumMap<>(Cat.class); 87 87 private ActionListener alRescueCatBox = new ActionListener() { 88 88 public void actionPerformed(java.awt.event.ActionEvent e) { … … 97 97 }; 98 98 public JComboBox<String> radioCatBox; 99 public EnumMap<Cat, Integer> radioCats = new EnumMap< Cat, Integer>(Cat.class);99 public EnumMap<Cat, Integer> radioCats = new EnumMap<>(Cat.class); 100 100 private ActionListener alRadioCatBox = new ActionListener() { 101 101 public void actionPerformed(java.awt.event.ActionEvent e) { … … 110 110 }; 111 111 public JComboBox<String> radarCatBox; 112 public EnumMap<Cat, Integer> radarCats = new EnumMap< Cat, Integer>(Cat.class);112 public EnumMap<Cat, Integer> radarCats = new EnumMap<>(Cat.class); 113 113 private ActionListener alRadarCatBox = new ActionListener() { 114 114 public void actionPerformed(java.awt.event.ActionEvent e) { … … 124 124 public JLabel functionLabel; 125 125 public JComboBox<String> functionBox; 126 public EnumMap<Fnc, Integer> functions = new EnumMap< Fnc, Integer>(Fnc.class);126 public EnumMap<Fnc, Integer> functions = new EnumMap<>(Fnc.class); 127 127 private ActionListener alfunctionBox = new ActionListener() { 128 128 public void actionPerformed(java.awt.event.ActionEvent e) { … … 151 151 public JRadioButton radioButton = new JRadioButton(new ImageIcon(getClass().getResource("/images/RadioStationButton.png"))); 152 152 public JRadioButton radarButton = new JRadioButton(new ImageIcon(getClass().getResource("/images/RadarStationButton.png"))); 153 public EnumMap<Obj, JRadioButton> objects = new EnumMap< Obj, JRadioButton>(Obj.class);153 public EnumMap<Obj, JRadioButton> objects = new EnumMap<>(Obj.class); 154 154 private ActionListener alObj = new ActionListener() { 155 155 public void actionPerformed(java.awt.event.ActionEvent e) { -
applications/editors/josm/plugins/smed/src/panels/PanelLit.java
r30532 r30737 40 40 public JLabel visibilityLabel; 41 41 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); 43 43 private ActionListener alVisibility = new ActionListener() { 44 44 public void actionPerformed(java.awt.event.ActionEvent e) { … … 80 80 public JLabel categoryLabel; 81 81 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); 83 83 private ActionListener alCategory = new ActionListener() { 84 84 public void actionPerformed(java.awt.event.ActionEvent e) { … … 116 116 public JLabel exhibitionLabel; 117 117 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); 119 119 private ActionListener alExhibition = new ActionListener() { 120 120 public void actionPerformed(java.awt.event.ActionEvent e) { -
applications/editors/josm/plugins/smed/src/panels/PanelMore.java
r30532 r30737 45 45 public JLabel statusLabel; 46 46 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); 48 48 private ActionListener alStatus = new ActionListener() { 49 49 public void actionPerformed(java.awt.event.ActionEvent e) { … … 57 57 public JLabel constrLabel; 58 58 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); 60 60 private ActionListener alConstr = new ActionListener() { 61 61 public void actionPerformed(java.awt.event.ActionEvent e) { … … 69 69 public JLabel conLabel; 70 70 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); 72 72 private ActionListener alCon = new ActionListener() { 73 73 public void actionPerformed(java.awt.event.ActionEvent e) { … … 81 81 public JLabel reflLabel; 82 82 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); 84 84 private ActionListener alRefl = new ActionListener() { 85 85 public void actionPerformed(java.awt.event.ActionEvent e) { -
applications/editors/josm/plugins/smed/src/panels/PanelPat.java
r29894 r30737 25 25 public JRadioButton squareButton = new JRadioButton(new ImageIcon(getClass().getResource("/images/SquaredButton.png"))); 26 26 public JRadioButton borderButton = new JRadioButton(new ImageIcon(getClass().getResource("/images/BorderButton.png"))); 27 public EnumMap<Pat, JRadioButton> patterns = new EnumMap< Pat, JRadioButton>(Pat.class);27 public EnumMap<Pat, JRadioButton> patterns = new EnumMap<>(Pat.class); 28 28 private ActionListener alPat = new ActionListener() { 29 29 public void actionPerformed(java.awt.event.ActionEvent e) { -
applications/editors/josm/plugins/smed/src/panels/PanelPort.java
r29894 r30737 24 24 public JRadioButton perchButton = new JRadioButton(new ImageIcon(getClass().getResource("/images/PerchPButton.png"))); 25 25 public JRadioButton stakeButton = new JRadioButton(new ImageIcon(getClass().getResource("/images/StakeButton.png"))); 26 public EnumMap<Shp, JRadioButton> shapes = new EnumMap< Shp, JRadioButton>(Shp.class);27 public EnumMap<Shp, Obj> objects = new EnumMap< Shp, Obj>(Shp.class);26 public EnumMap<Shp, JRadioButton> shapes = new EnumMap<>(Shp.class); 27 public EnumMap<Shp, Obj> objects = new EnumMap<>(Shp.class); 28 28 public ActionListener alShape = new ActionListener() { 29 29 public void actionPerformed(java.awt.event.ActionEvent e) { -
applications/editors/josm/plugins/smed/src/panels/PanelRadar.java
r30532 r30737 29 29 }; 30 30 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); 32 32 private ActionListener alRadioCatBox = new ActionListener() { 33 33 public void actionPerformed(java.awt.event.ActionEvent e) { … … 46 46 public JRadioButton raconButton = new JRadioButton(new ImageIcon(getClass().getResource("/images/RaconButton.png"))); 47 47 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); 49 49 private ActionListener alRad = new ActionListener() { 50 50 public void actionPerformed(java.awt.event.ActionEvent e) { -
applications/editors/josm/plugins/smed/src/panels/PanelSaw.java
r29894 r30737 20 20 public JRadioButton floatButton = new JRadioButton(new ImageIcon(getClass().getResource("/images/FloatButton.png"))); 21 21 public JRadioButton beaconButton = new JRadioButton(new ImageIcon(getClass().getResource("/images/BeaconButton.png"))); 22 public EnumMap<Shp, JRadioButton> shapes = new EnumMap< Shp, JRadioButton>(Shp.class);23 public EnumMap<Shp, Obj> objects = new EnumMap< Shp, Obj>(Shp.class);22 public EnumMap<Shp, JRadioButton> shapes = new EnumMap<>(Shp.class); 23 public EnumMap<Shp, Obj> objects = new EnumMap<>(Shp.class); 24 24 public ActionListener alShape = new ActionListener() { 25 25 public void actionPerformed(java.awt.event.ActionEvent e) { -
applications/editors/josm/plugins/smed/src/panels/PanelSectors.java
r30532 r30737 37 37 }; 38 38 public JComboBox<ImageIcon> colourBox; 39 public EnumMap<Col, ImageIcon> colours = new EnumMap< Col, ImageIcon>(Col.class);39 public EnumMap<Col, ImageIcon> colours = new EnumMap<>(Col.class); 40 40 public JComboBox<String> visibilityBox; 41 public EnumMap<Vis, String> visibilities = new EnumMap< Vis, String>(Vis.class);41 public EnumMap<Vis, String> visibilities = new EnumMap<>(Vis.class); 42 42 public JComboBox<String> exhibitionBox; 43 public EnumMap<Exh, String> exhibitions = new EnumMap< Exh, String>(Exh.class);43 public EnumMap<Exh, String> exhibitions = new EnumMap<>(Exh.class); 44 44 45 45 public PanelSectors(SmedAction dia) { -
applications/editors/josm/plugins/smed/src/panels/PanelSpec.java
r30532 r30737 18 18 public JLabel categoryLabel; 19 19 public JComboBox<String> categoryBox; 20 public EnumMap<Cat, Integer> categories = new EnumMap< Cat, Integer>(Cat.class);20 public EnumMap<Cat, Integer> categories = new EnumMap<>(Cat.class); 21 21 private ActionListener alCategoryBox = new ActionListener() { 22 22 public void actionPerformed(java.awt.event.ActionEvent e) { … … 29 29 }; 30 30 public JComboBox<String> mooringBox; 31 public EnumMap<Cat, Integer> moorings = new EnumMap< Cat, Integer>(Cat.class);31 public EnumMap<Cat, Integer> moorings = new EnumMap<>(Cat.class); 32 32 private ActionListener alMooringBox = new ActionListener() { 33 33 public void actionPerformed(java.awt.event.ActionEvent e) { … … 62 62 public JRadioButton stakeButton = new JRadioButton(new ImageIcon(getClass().getResource("/images/StakeButton.png"))); 63 63 public JRadioButton cairnButton = new JRadioButton(new ImageIcon(getClass().getResource("/images/CairnButton.png"))); 64 public EnumMap<Shp, JRadioButton> shapes = new EnumMap< Shp, JRadioButton>(Shp.class);65 public EnumMap<Shp, Obj> objects = new EnumMap< Shp, Obj>(Shp.class);64 public EnumMap<Shp, JRadioButton> shapes = new EnumMap<>(Shp.class); 65 public EnumMap<Shp, Obj> objects = new EnumMap<>(Shp.class); 66 66 public ActionListener alShape = new ActionListener() { 67 67 public void actionPerformed(java.awt.event.ActionEvent e) { -
applications/editors/josm/plugins/smed/src/panels/PanelStbd.java
r29894 r30737 24 24 public JRadioButton perchButton = new JRadioButton(new ImageIcon(getClass().getResource("/images/PerchSButton.png"))); 25 25 public JRadioButton stakeButton = new JRadioButton(new ImageIcon(getClass().getResource("/images/StakeButton.png"))); 26 public EnumMap<Shp, JRadioButton> shapes = new EnumMap< Shp, JRadioButton>(Shp.class);27 public EnumMap<Shp, Obj> objects = new EnumMap< Shp, Obj>(Shp.class);26 public EnumMap<Shp, JRadioButton> shapes = new EnumMap<>(Shp.class); 27 public EnumMap<Shp, Obj> objects = new EnumMap<>(Shp.class); 28 28 public ActionListener alShape = new ActionListener() { 29 29 public void actionPerformed(java.awt.event.ActionEvent e) { -
applications/editors/josm/plugins/smed/src/panels/PanelTop.java
r29894 r30737 32 32 public JRadioButton squareDayButton = new JRadioButton(new ImageIcon(getClass().getResource("/images/SquareDayButton.png"))); 33 33 public JRadioButton circleDayButton = new JRadioButton(new ImageIcon(getClass().getResource("/images/CircleDayButton.png"))); 34 private EnumMap<Top, JRadioButton> tops = new EnumMap< Top, JRadioButton>(Top.class);34 private EnumMap<Top, JRadioButton> tops = new EnumMap<>(Top.class); 35 35 private ActionListener alTop = new ActionListener() { 36 36 public void actionPerformed(java.awt.event.ActionEvent e) { -
applications/editors/josm/plugins/smed/src/seamarks/SeaMark.java
r30287 r30737 30 30 } 31 31 32 public static final EnumMap<Reg, String> RegSTR = new EnumMap< Reg, String>(Reg.class);32 public static final EnumMap<Reg, String> RegSTR = new EnumMap<>(Reg.class); 33 33 static { 34 34 RegSTR.put(Reg.A, "iala-a"); … … 69 69 } 70 70 71 public static final EnumMap<Obj, String> ObjSTR = new EnumMap< Obj, String>(Obj.class);71 public static final EnumMap<Obj, String> ObjSTR = new EnumMap<>(Obj.class); 72 72 static { 73 73 ObjSTR.put(Obj.BCNCAR, "beacon_cardinal"); … … 130 130 } 131 131 132 public static final EnumMap<Obj, Ent> EntMAP = new EnumMap< Obj, Ent>(Obj.class);132 public static final EnumMap<Obj, Ent> EntMAP = new EnumMap<>(Obj.class); 133 133 static { 134 134 EntMAP.put(Obj.BCNCAR, Ent.BEACON); … … 170 170 } 171 171 172 public static final EnumMap<Obj, Grp> GrpMAP = new EnumMap< Obj, Grp>(Obj.class);172 public static final EnumMap<Obj, Grp> GrpMAP = new EnumMap<>(Obj.class); 173 173 static { 174 174 GrpMAP.put(Obj.UNKOBJ, Grp.NUL); … … 229 229 } 230 230 231 public static final EnumMap<Cat, String> CatSTR = new EnumMap< Cat, String>(Cat.class);231 public static final EnumMap<Cat, String> CatSTR = new EnumMap<>(Cat.class); 232 232 static { 233 233 CatSTR.put(Cat.LAM_PORT, "port"); … … 435 435 } 436 436 437 public static final EnumMap<Shp, String> ShpSTR = new EnumMap< Shp, String>(Shp.class);437 public static final EnumMap<Shp, String> ShpSTR = new EnumMap<>(Shp.class); 438 438 static { 439 439 ShpSTR.put(Shp.PILLAR, "pillar"); … … 469 469 } 470 470 471 public static final EnumMap<Col, Color> ColMAP = new EnumMap< Col, Color>(Col.class);471 public static final EnumMap<Col, Color> ColMAP = new EnumMap<>(Col.class); 472 472 static { 473 473 ColMAP.put(Col.UNKCOL, new Color(0xc0c0c0)); … … 487 487 } 488 488 489 public static final EnumMap<Col, String> ColSTR = new EnumMap< Col, String>(Col.class);489 public static final EnumMap<Col, String> ColSTR = new EnumMap<>(Col.class); 490 490 static { 491 491 ColSTR.put(Col.WHITE, "white"); … … 539 539 } 540 540 541 private ArrayList<Col> bodyColour = new ArrayList< Col>();541 private ArrayList<Col> bodyColour = new ArrayList<>(); 542 542 543 543 public Col getObjColour(int i) { … … 577 577 } 578 578 579 private ArrayList<Col> topmarkColour = new ArrayList< Col>();579 private ArrayList<Col> topmarkColour = new ArrayList<>(); 580 580 581 581 public Col getTopColour(int i) { … … 619 619 } 620 620 621 public static final Map<EnumSet<Chr>, String> ChrMAP = new HashMap< EnumSet<Chr>, String>();621 public static final Map<EnumSet<Chr>, String> ChrMAP = new HashMap<>(); 622 622 static { 623 623 ChrMAP.put(EnumSet.of(Chr.FIXED), "F"); … … 654 654 } 655 655 656 public static final EnumMap<Vis, String> VisSTR = new EnumMap< Vis, String>(Vis.class);656 public static final EnumMap<Vis, String> VisSTR = new EnumMap<>(Vis.class); 657 657 static { 658 658 VisSTR.put(Vis.HIGH, "high"); … … 670 670 } 671 671 672 public static final EnumMap<Lit, String> LitSTR = new EnumMap< Lit, String>(Lit.class);672 public static final EnumMap<Lit, String> LitSTR = new EnumMap<>(Lit.class); 673 673 static { 674 674 LitSTR.put(Lit.VERT, "vertical"); … … 696 696 } 697 697 698 public static final EnumMap<Exh, String> ExhSTR = new EnumMap< Exh, String>(Exh.class);698 public static final EnumMap<Exh, String> ExhSTR = new EnumMap<>(Exh.class); 699 699 static { 700 700 ExhSTR.put(Exh.H24, "24h"); … … 713 713 "", "", "", Vis.UNKVIS, Exh.UNKEXH, "", "", Col.UNKCOL }; 714 714 715 private ArrayList<Object[]> sectors = new ArrayList< Object[]>();715 private ArrayList<Object[]> sectors = new ArrayList<>(); 716 716 717 717 public int getSectorCount() { … … 801 801 } 802 802 803 public static final EnumMap<Pat, String> PatSTR = new EnumMap< Pat, String>(Pat.class);803 public static final EnumMap<Pat, String> PatSTR = new EnumMap<>(Pat.class); 804 804 static { 805 805 PatSTR.put(Pat.HSTRP, "horizontal"); … … 850 850 } 851 851 852 public static final EnumMap<Top, String> TopSTR = new EnumMap< Top, String>(Top.class);852 public static final EnumMap<Top, String> TopSTR = new EnumMap<>(Top.class); 853 853 static { 854 854 TopSTR.put(Top.CYL, "cylinder"); … … 895 895 } 896 896 897 public static final EnumMap<Rtb, String> RtbSTR = new EnumMap< Rtb, String>(Rtb.class);897 public static final EnumMap<Rtb, String> RtbSTR = new EnumMap<>(Rtb.class); 898 898 static { 899 899 RtbSTR.put(Rtb.RACON, "racon"); … … 991 991 } 992 992 993 public static final EnumMap<Fog, String> FogSTR = new EnumMap< Fog, String>(Fog.class);993 public static final EnumMap<Fog, String> FogSTR = new EnumMap<>(Fog.class); 994 994 static { 995 995 FogSTR.put(Fog.FOGSIG, "yes"); … … 1068 1068 } 1069 1069 1070 public static final EnumMap<Sts, String> StsSTR = new EnumMap< Sts, String>(Sts.class);1070 public static final EnumMap<Sts, String> StsSTR = new EnumMap<>(Sts.class); 1071 1071 static { 1072 1072 StsSTR.put(Sts.PERM, "permanent"); … … 1104 1104 } 1105 1105 1106 public static final EnumMap<Cns, String> CnsSTR = new EnumMap< Cns, String>(Cns.class);1106 public static final EnumMap<Cns, String> CnsSTR = new EnumMap<>(Cns.class); 1107 1107 static { 1108 1108 CnsSTR.put(Cns.BRICK, "masonry"); … … 1131 1131 } 1132 1132 1133 public static final EnumMap<Con, String> ConSTR = new EnumMap< Con, String>(Con.class);1133 public static final EnumMap<Con, String> ConSTR = new EnumMap<>(Con.class); 1134 1134 static { 1135 1135 ConSTR.put(Con.CONSP, "conspicuous"); … … 1164 1164 } 1165 1165 1166 public static final EnumMap<Fnc, String> FncSTR = new EnumMap< Fnc, String>(Fnc.class);1166 public static final EnumMap<Fnc, String> FncSTR = new EnumMap<>(Fnc.class); 1167 1167 static { 1168 1168 FncSTR.put(Fnc.UNKFNC, "");
Note:
See TracChangeset
for help on using the changeset viewer.