Ignore:
Timestamp:
2022-06-14T20:11:21+02:00 (2 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/reverter/src/reverter/ChangesetReverter.java

    r35846 r35976  
    499499        try {
    500500            for (Node n : nodes) {
    501                 if (!n.isDeleted() && n.getCoor() == null) {
     501                if (!n.isDeleted() && !n.isLatLonKnown()) {
    502502                    PrimitiveId id = n.getPrimitiveId();
    503503                    OsmPrimitive p = ds.getPrimitiveById(id);
Note: See TracChangeset for help on using the changeset viewer.