Changeset 31846 in osm for applications/editors/josm/plugins/seachart/src/s57/S57obj.java
- Timestamp:
- 2015-12-21T16:57:17+01:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/seachart/src/s57/S57obj.java
r31738 r31846 29 29 } 30 30 31 private static final EnumMap<Obj, Integer> ObjS57 = new EnumMap< Obj, Integer>(Obj.class);31 private static final EnumMap<Obj, Integer> ObjS57 = new EnumMap<>(Obj.class); 32 32 static { 33 33 ObjS57.put(Obj.UNKOBJ,0); … … 66 66 } 67 67 68 private static final EnumMap<Obj, Integer> ObjIENC = new EnumMap< Obj, Integer>(Obj.class);68 private static final EnumMap<Obj, Integer> ObjIENC = new EnumMap<>(Obj.class); 69 69 static { 70 70 ObjIENC.put(Obj.UNKOBJ, 0); … … 81 81 } 82 82 83 private static final EnumMap<Obj, String> ObjStr = new EnumMap< Obj, String>(Obj.class);83 private static final EnumMap<Obj, String> ObjStr = new EnumMap<>(Obj.class); 84 84 static { 85 85 ObjStr.put(Obj.UNKOBJ, ""); ObjStr.put(Obj.AIRARE, "airfield"); ObjStr.put(Obj.ACHBRT, "anchor_berth"); ObjStr.put(Obj.ACHARE, "anchorage"); … … 130 130 } 131 131 132 private static final HashMap<String, Obj> StrObj = new HashMap< String, Obj>();132 private static final HashMap<String, Obj> StrObj = new HashMap<>(); 133 133 static { 134 134 for (Map.Entry<Obj, String> entry : ObjStr.entrySet()) {
Note:
See TracChangeset
for help on using the changeset viewer.
