- Timestamp:
- 2017-04-29T16:23:41+02:00 (8 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/data/osm
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/NodeData.java
r9891 r12017 21 21 public NodeData() { 22 22 // contents can be set later with setters 23 } 24 25 /** 26 * Constructs a new {@code NodeData} with given id. 27 * @param id id 28 * @since 12017 29 */ 30 public NodeData(long id) { 31 super(id); 23 32 } 24 33 -
trunk/src/org/openstreetmap/josm/data/osm/PrimitiveData.java
r11878 r12017 27 27 */ 28 28 public PrimitiveData() { 29 id = OsmPrimitive.generateUniqueId(); 29 this(OsmPrimitive.generateUniqueId()); 30 } 31 32 /** 33 * Constructs a new {@code PrimitiveData} with given id. 34 * @param id id 35 * @since 12017 36 */ 37 public PrimitiveData(long id) { 38 this.id = id; 30 39 } 31 40 -
trunk/src/org/openstreetmap/josm/data/osm/RelationData.java
r11878 r12017 21 21 public RelationData() { 22 22 // contents can be set later with setters 23 } 24 25 /** 26 * Constructs a new {@code RelationData} with given id. 27 * @param id id 28 * @since 12017 29 */ 30 public RelationData(long id) { 31 super(id); 23 32 } 24 33 -
trunk/src/org/openstreetmap/josm/data/osm/WayData.java
r9891 r12017 17 17 public WayData() { 18 18 // contents can be set later with setters 19 } 20 21 /** 22 * Constructs a new {@code WayData} with given id. 23 * @param id id 24 * @since 12017 25 */ 26 public WayData(long id) { 27 super(id); 19 28 } 20 29
Note:
See TracChangeset
for help on using the changeset viewer.