Ignore:
Timestamp:
2016-08-03T15:30:04+02:00 (5 years ago)
Author:
simon04
Message:

see #11390, see #12890 - Deprecate predicates in OsmPrimitive class

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/corrector/ReverseWayNoTagCorrector.java

    r10657 r10716  
    1111
    1212import org.openstreetmap.josm.Main;
    13 import org.openstreetmap.josm.data.osm.OsmPrimitive;
    1413import org.openstreetmap.josm.data.osm.Tag;
    1514import org.openstreetmap.josm.data.osm.TagCollection;
     
    5554        for (Map.Entry<String, String> entry : way.getKeys().entrySet()) {
    5655            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();
    5857            if (isDirectional) {
    5958                final boolean cannotBeCorrected = ReverseWayTagCorrector.getTagCorrections(tag).isEmpty();
Note: See TracChangeset for help on using the changeset viewer.