Changeset 30737 in osm for applications/editors/josm/plugins/smed/src/seamarks
- Timestamp:
- 2014-10-18T23:07:52+02:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.
