Changeset 30764 in osm for applications/editors/josm
- Timestamp:
- 2014-10-27T20:54:29+01:00 (10 years ago)
- Location:
- applications/editors/josm/plugins/sds
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/sds/build.xml
r30666 r30764 5 5 <property name="commit.message" value=""/> 6 6 <!-- enter the *lowest* JOSM version this plugin is currently compatible with --> 7 <property name="plugin.main.version" value="7 578"/>7 <property name="plugin.main.version" value="7656"/> 8 8 9 9 <!-- -
applications/editors/josm/plugins/sds/src/org/openstreetmap/hot/sds/WritePostprocessor.java
r30738 r30764 7 7 8 8 import org.openstreetmap.hot.sds.SeparateDataStorePlugin.QueueItem; 9 import org.openstreetmap.josm.data.osm. IPrimitive;9 import org.openstreetmap.josm.data.osm.OsmPrimitive; 10 10 import org.openstreetmap.josm.gui.progress.ProgressMonitor; 11 11 import org.openstreetmap.josm.io.OsmServerWritePostprocessor; … … 20 20 21 21 @Override 22 public void postprocessUploadedPrimitives(Collection< IPrimitive> primitives, ProgressMonitor progress) {22 public void postprocessUploadedPrimitives(Collection<OsmPrimitive> primitives, ProgressMonitor progress) { 23 23 24 24 StringWriter swriter = new StringWriter(); … … 27 27 boolean somethingWritten = false; 28 28 29 for ( IPrimitive p : primitives) {29 for (OsmPrimitive p : primitives) { 30 30 for (QueueItem q : plugin.uploadQueue) { 31 31 if (q.primitive.equals(p) && !q.sdsOnly) { … … 55 55 } 56 56 57 for ( IPrimitive p : primitives) {57 for (OsmPrimitive p : primitives) { 58 58 plugin.learn(p); 59 59 }
Note:
See TracChangeset
for help on using the changeset viewer.