Changeset 10601 in josm for trunk/src/org/openstreetmap/josm/actions/upload/FixDataHook.java
- Timestamp:
- 2016-07-23T04:10:39+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/upload/FixDataHook.java
r10600 r10601 46 46 deprecated.add(new FixDataTag("highway", "stile", "barrier", "stile")); 47 47 // CHECKSTYLE.ON: SingleSpaceSeparator 48 deprecated.add(new FixData() { 49 @Override 50 public boolean fixKeys(Map<String, String> keys, OsmPrimitive osm) { 51 if (osm instanceof Relation && "multipolygon".equals(keys.get("type")) && "administrative".equals(keys.get("boundary"))) { 52 keys.put("type", "boundary"); 53 return true; 54 } 55 return false; 56 } 48 deprecated.add((keys, osm) -> { 49 if (osm instanceof Relation && "multipolygon".equals(keys.get("type")) && "administrative".equals(keys.get("boundary"))) { 50 keys.put("type", "boundary"); 51 return true; 52 } 53 return false; 57 54 }); 58 55 }
Note:
See TracChangeset
for help on using the changeset viewer.