Ignore:
Timestamp:
2018-09-26T18:29:26+02:00 (6 years ago)
Author:
stoecker
Message:

fix typos - patch by naoliv - fix #16781 - Thanks a lot

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/MapViewState.java

    r14120 r14273  
    362362     * <p>
    363363     * The view is moved so that the center is the same as the old center.
    364      * @param positon The new location to use.
     364     * @param position The new location to use.
    365365     * @return The new state.
    366366     * @since 10375
    367367     */
    368     public MapViewState usingLocation(JComponent positon) {
     368    public MapViewState usingLocation(JComponent position) {
    369369        EastNorth center = this.getCenter().getEastNorth();
    370         return new MapViewState(positon, this).usingCenter(center);
     370        return new MapViewState(position, this).usingCenter(center);
    371371    }
    372372
     
    541541        /**
    542542         * Gets the direction in which this point is outside of the given view rectangle.
    543          * @param rect The rectangle to check agains.
     543         * @param rect The rectangle to check against.
    544544         * @return The direction in which it is outside of the view, as OUTSIDE_... flags.
    545545         * @since 10827
Note: See TracChangeset for help on using the changeset viewer.