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/poly/src/poly/PolyExporter.java

    r34991 r35976  
    102102
    103103        for (Node n : w.getNodes()) {
    104             writer.println(String.format(Locale.ENGLISH, "   %f   %f", n.getCoor().lon(), n.getCoor().lat()));
     104            writer.println(String.format(Locale.ENGLISH, "   %f   %f", n.lon(), n.lat()));
    105105        }
    106106        writer.println("END");
Note: See TracChangeset for help on using the changeset viewer.