Changeset 628 in josm for trunk/src/org/openstreetmap/josm/command
- Timestamp:
- 2008-05-11T00:51:33+02:00 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/command/ChangePropertyCommand.java
r627 r628 6 6 7 7 import java.util.Collection; 8 import java.util.Collections; 8 9 import java.util.LinkedList; 9 10 import java.util.List; … … 41 42 public ChangePropertyCommand(Collection<OsmPrimitive> objects, String key, String value) { 42 43 this.objects = new LinkedList<OsmPrimitive>(objects); 44 this.key = key; 45 this.value = value; 46 } 47 48 public ChangePropertyCommand(OsmPrimitive object, String key, String value) { 49 this.objects = new LinkedList<OsmPrimitive>(Collections.singleton(object)); 43 50 this.key = key; 44 51 this.value = value;
Note:
See TracChangeset
for help on using the changeset viewer.