Changeset 12161 in josm for trunk/test/unit


Ignore:
Timestamp:
2017-05-15T15:43:30+02:00 (3 years ago)
Author:
michael2402
Message:

See #13415: Add the ILatLon interface, unify handling of Nodes and CachedLatLon

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/data/projection/ShiftedProjectionTest.java

    r10805 r12161  
    1414import org.openstreetmap.josm.data.ProjectionBounds;
    1515import org.openstreetmap.josm.data.coor.EastNorth;
     16import org.openstreetmap.josm.data.coor.ILatLon;
    1617import org.openstreetmap.josm.data.coor.LatLon;
    1718
     
    2324    private static final class ProjectingBase implements Projecting {
    2425        @Override
    25         public EastNorth latlon2eastNorth(LatLon ll) {
     26        public EastNorth latlon2eastNorth(ILatLon ll) {
    2627            return new EastNorth(ll.lat() * 2, ll.lon() * 3);
    2728        }
     
    5354
    5455    /**
    55      * Test {@link ShiftedProjecting#latlon2eastNorth(LatLon)}
     56     * Test {@link ShiftedProjecting#latlon2eastNorth(ILatLon)}
    5657     */
    5758    @Test
Note: See TracChangeset for help on using the changeset viewer.