Ignore:
Timestamp:
2023-05-30T20:00:40+02:00 (13 months ago)
Author:
stoecker
Message:

fix a few warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/turnrestrictions/src/org/openstreetmap/josm/plugins/turnrestrictions/TurnRestrictionBuilder.java

    r35976 r36090  
    176176     * <pre>
    177177     *          to1             to2
    178      *      -------------> o -------------->
     178     *      -------------&gt; o --------------&lt;
    179179     *                     ^
    180180     *                     | from
     
    347347    public static boolean isConnectingNode(Way w1, Way w2, Node n) {
    348348        if (isStartNode(w1, n)) {
    349             return isStartNode(w2, n) | isEndNode(w2, n);
     349            return isStartNode(w2, n) || isEndNode(w2, n);
    350350        } else if (isEndNode(w1, n)) {
    351             return isStartNode(w2, n) | isEndNode(w2, n);
     351            return isStartNode(w2, n) || isEndNode(w2, n);
    352352        }
    353353        return false;
Note: See TracChangeset for help on using the changeset viewer.