Changeset 18722 in osm for applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/CheckSourceUploadHook.java
- Timestamp:
- 2009-11-21T01:14:05+01:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/CheckSourceUploadHook.java
r18544 r18722 42 42 Collection<OsmPrimitive> sel = new HashSet<OsmPrimitive>(); 43 43 for (OsmPrimitive osm : apiDataSet.getPrimitivesToAdd()) { 44 if ((osm instanceof Node || osm instanceof Way)45 && (osm.getKeys()== null ||!tagSourceExist(osm))) {44 if ((osm instanceof Way && (osm.getKeys().size() == 0 || !tagSourceExist(osm))) 45 || (osm instanceof Node && osm.getKeys().size() > 0 && !tagSourceExist(osm))) { 46 46 sel.add(osm); 47 47 }
Note:
See TracChangeset
for help on using the changeset viewer.
