Changeset 16896 in josm for trunk/src/org


Ignore:
Timestamp:
2020-08-16T20:49:35+02:00 (4 years ago)
Author:
simon04
Message:

see #19633 - Java Warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/dialogs/relation/sort/RelationNodeMap.java

    r16890 r16896  
    204204    private boolean checkIfEndOfLoopReached(Node n) {
    205205        return map.nodes.containsKey(n)
    206                 || onewayMap.nodes.containsKey(n) && onewayMap.nodes.get(n).size() > 1
    207                 || firstCircular != null && firstCircular == n;
     206                || (onewayMap.nodes.containsKey(n) && (onewayMap.nodes.get(n).size() > 1))
     207                || ((firstCircular != null) && (firstCircular == n));
    208208    }
    209209
Note: See TracChangeset for help on using the changeset viewer.