Changeset 17365 in osm for applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/CheckSourceUploadHook.java
- Timestamp:
- 2009-08-30T18:02:20+02:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/CheckSourceUploadHook.java
r15961 r17365 41 41 for (OsmPrimitive osm : add) { 42 42 if ((osm instanceof Node || osm instanceof Way) 43 && (osm. keys== null || !tagSourceExist(osm))) {43 && (osm.getKeys() == null || !tagSourceExist(osm))) { 44 44 sel.add(osm); 45 45 } … … 58 58 */ 59 59 private boolean tagSourceExist(OsmPrimitive osm) { 60 for (String key : osm.key s.keySet()) {60 for (String key : osm.keySet()) { 61 61 if (key.equals("source") ) { 62 62 return true;
Note:
See TracChangeset
for help on using the changeset viewer.
