Changeset 4103 in josm
- Timestamp:
- 2011-05-30T09:42:08+02:00 (13 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/data/osm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/AbstractPrimitive.java
r4100 r4103 466 466 /** 467 467 * Sets the keys of this primitives to the key/value pairs in <code>keys</code>. 468 * If <code>keys</code> is null removes all existing key/value pairs. 468 * Old key/value pairs are removed. 469 * If <code>keys</code> is null, clears existing key/value pairs. 469 470 * 470 471 * @param keys the key/value pairs to set. If null, removes all existing key/value pairs. -
trunk/src/org/openstreetmap/josm/data/osm/OsmPrimitive.java
r4100 r4103 1035 1035 protected void saveCommonAttributes(PrimitiveData data) { 1036 1036 data.setId(id); 1037 data.getKeys().clear(); 1038 data.getKeys().putAll(getKeys()); 1037 data.setKeys(getKeys()); 1039 1038 data.setTimestamp(getTimestamp()); 1040 1039 data.setUser(user);
Note:
See TracChangeset
for help on using the changeset viewer.