Changeset 12729 in josm


Ignore:
Timestamp:
2017-09-05T01:27:24+02:00 (7 years ago)
Author:
Don-vip
Message:

see #15229 - fix typos, warnings

Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/coor/ILatLon.java

    r12725 r12729  
    4141     * <p>Replies the projected east/north coordinates.</p>
    4242     *
    43      * <p>Uses the {@link Main#getProjection() global projection} to project the lan/lon-coordinates.</p>
     43     * <p>Uses the {@link Main#getProjection() global projection} to project the lat/lon-coordinates.</p>
    4444     *
    4545     * @return the east north coordinates or {@code null} if #is
  • trunk/src/org/openstreetmap/josm/data/osm/Node.java

    r12726 r12729  
    103103     * Replies the projected east/north coordinates.
    104104     * <p>
    105      * Uses the {@link Main#getProjection() global projection} to project the lan/lon-coordinates.
     105     * Uses the {@link Main#getProjection() global projection} to project the lat/lon-coordinates.
    106106     * @return the east north coordinates or {@code null} if #is
    107107     */
  • trunk/test/unit/org/openstreetmap/josm/actions/upload/FixDataHookTest.java

    r12728 r12729  
    4646        assertTrue(MainApplication.undoRedo.commands.isEmpty());
    4747
    48         // Complete data set (except empty which cannot be tested anymore)
     48        // Complete data set (except empty node which cannot be tested anymore)
    4949        Way emptyWay = new Way();
    5050        Relation emptyRelation = new Relation();
  • trunk/test/unit/org/openstreetmap/josm/data/gpx/GpxDataTest.java

    r12171 r12729  
    334334
    335335        WayPoint close = data.nearestPointOnTrack(new EastNorth(5, 5), 10);
    336         assertEquals(10, close.getEastNorth().east(), .01);
    337         assertEquals(5, close.getEastNorth().north(), .01);
     336        assertEquals(10, close.getEastNorth(Main.getProjection()).east(), .01);
     337        assertEquals(5, close.getEastNorth(Main.getProjection()).north(), .01);
    338338
    339339        close = data.nearestPointOnTrack(new EastNorth(15, 5), 10);
    340         assertEquals(10, close.getEastNorth().east(), .01);
    341         assertEquals(5, close.getEastNorth().north(), .01);
     340        assertEquals(10, close.getEastNorth(Main.getProjection()).east(), .01);
     341        assertEquals(5, close.getEastNorth(Main.getProjection()).north(), .01);
    342342
    343343        assertNull(data.nearestPointOnTrack(new EastNorth(5, 5), 1));
Note: See TracChangeset for help on using the changeset viewer.