Ignore:
Timestamp:
2016-07-27T02:08:34+02:00 (9 years ago)
Author:
Don-vip
Message:

see #11390, see #12890 - use Java 8 Predicates

File:
1 edited

Legend:

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

    r9539 r10657  
    5555        for (Map.Entry<String, String> entry : way.getKeys().entrySet()) {
    5656            final Tag tag = new Tag(entry.getKey(), entry.getValue());
    57             final boolean isDirectional = directionalTags.contains(tag) || OsmPrimitive.directionalKeyPredicate.evaluate(tag);
     57            final boolean isDirectional = directionalTags.contains(tag) || OsmPrimitive.directionalKeyPredicate.test(tag);
    5858            if (isDirectional) {
    5959                final boolean cannotBeCorrected = ReverseWayTagCorrector.getTagCorrections(tag).isEmpty();
Note: See TracChangeset for help on using the changeset viewer.