Changeset 10716 in josm for trunk/src/org/openstreetmap/josm/corrector
- Timestamp:
- 2016-08-03T15:30:04+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/corrector/ReverseWayNoTagCorrector.java
r10657 r10716 11 11 12 12 import org.openstreetmap.josm.Main; 13 import org.openstreetmap.josm.data.osm.OsmPrimitive;14 13 import org.openstreetmap.josm.data.osm.Tag; 15 14 import org.openstreetmap.josm.data.osm.TagCollection; … … 55 54 for (Map.Entry<String, String> entry : way.getKeys().entrySet()) { 56 55 final Tag tag = new Tag(entry.getKey(), entry.getValue()); 57 final boolean isDirectional = directionalTags.contains(tag) || OsmPrimitive.directionalKeyPredicate.test(tag);56 final boolean isDirectional = directionalTags.contains(tag) || tag.isDirectionKey(); 58 57 if (isDirectional) { 59 58 final boolean cannotBeCorrected = ReverseWayTagCorrector.getTagCorrections(tag).isEmpty();
Note:
See TracChangeset
for help on using the changeset viewer.