Ignore:
Timestamp:
2022-06-14T20:11:21+02:00 (3 years ago)
Author:
taylor.smock
Message:

see #22104: Remove usages of Node#getCoor where possible

This also accounts for cases where Node has the methods used later,
so a new LatLon is unnecessary.

File:
1 edited

Legend:

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

    r35829 r35976  
    5252                return false;
    5353            for (Node n : way.getNodes()) {
    54                 LatLon ll = n.getCoor();
    55                 if (n.isIncomplete() || (a != null && !a.contains(ll.getX(), ll.getY())))
     54                if (n.isIncomplete() || (a != null && !a.contains(n.lon(), n.lat())))
    5655                    return false;
    5756            }
Note: See TracChangeset for help on using the changeset viewer.