Changeset 10643 in josm for trunk/src/org


Ignore:
Timestamp:
2016-07-26T00:36:05+02:00 (8 years ago)
Author:
Don-vip
Message:

see #11390 - use method reference

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/validation/tests/RelationChecker.java

    r10638 r10643  
    2929import org.openstreetmap.josm.gui.tagging.presets.items.Roles;
    3030import org.openstreetmap.josm.gui.tagging.presets.items.Roles.Role;
     31import org.openstreetmap.josm.tools.I18n;
    3132import org.openstreetmap.josm.tools.Utils;
    3233
     
    293294        for (String key : map.keySet()) {
    294295            if (!allroles.containsKey(key)) {
    295                 String templates = allroles.keySet().stream().map(x -> tr(x)).collect(Collectors.joining("/"));
     296                String templates = allroles.keySet().stream().map(I18n::tr).collect(Collectors.joining("/"));
    296297
    297298                if (!key.isEmpty()) {
Note: See TracChangeset for help on using the changeset viewer.