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.

Location:
applications/editors/josm/plugins/jts
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/jts/build.xml

    r35884 r35976  
    44    <property name="commit.message" value="Commit message"/>
    55    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    6     <property name="plugin.main.version" value="10580"/>
     6    <property name="plugin.main.version" value="12164"/>
    77   
    88    <property name="plugin.author" value="Josh Doe &lt;josh@joshdoe.com&gt;"/>
  • applications/editors/josm/plugins/jts/src/org/openstreetmap/josm/plugins/jts/JTSConverter.java

    r35122 r35976  
    7171            return new Coordinate(node.getEastNorth().getX(), node.getEastNorth().getY());
    7272        else
    73             return new Coordinate(node.getCoor().getX(), node.getCoor().getY());
     73            return new Coordinate(node.lon(), node.lat());
    7474    }
    7575
Note: See TracChangeset for help on using the changeset viewer.