Ignore:
Timestamp:
2023-07-24T15:55:23+02:00 (3 years ago)
Author:
taylor.smock
Message:

reltoolbox: Clean up a bunch of lint warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/reltoolbox/src/relcontext/actions/ReconstructRouteAction.java

    r34551 r36102  
    99import java.util.List;
    1010import java.util.Map;
     11import java.util.Objects;
    1112
    1213import javax.swing.AbstractAction;
     
    9697                if (routeMembers.size() > 2) {
    9798                    Way nextWay = (Way) routeMembers.get(rIndex + 1).getMember();
    98                     if (w.lastNode().equals(nextWay.lastNode()) || w.lastNode().equals(nextWay.firstNode())) {
     99                    if (Objects.equals(w.lastNode(), nextWay.lastNode()) || Objects.equals(w.lastNode(), nextWay.firstNode())) {
    99100                        dirForward = true;
    100101                        lastNode = w.lastNode();
Note: See TracChangeset for help on using the changeset viewer.