Changeset 6140 in josm for trunk/src/org/openstreetmap/josm/data/osm/Node.java
- Timestamp:
- 2013-08-11T21:09:08+02:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/Node.java
r6105 r6140 152 152 * Constructs an identical clone of the argument. 153 153 * @param clone The node to clone 154 * @param clear Id If true, set version to 0 and id to new unique value155 */ 156 public Node(Node clone, boolean clear Id) {154 * @param clearMetadata If {@code true}, clears the OSM id and other metadata as defined by {@link #clearOsmMetadata}. If {@code false}, does nothing 155 */ 156 public Node(Node clone, boolean clearMetadata) { 157 157 super(clone.getUniqueId(), true /* allow negative IDs */); 158 158 cloneFrom(clone); 159 if (clear Id) {160 clearOsm Id();159 if (clearMetadata) { 160 clearOsmMetadata(); 161 161 } 162 162 }
Note:
See TracChangeset
for help on using the changeset viewer.