Changeset 19319 in josm for trunk/src/org


Ignore:
Timestamp:
2025-02-14T10:30:06+01:00 (10 days ago)
Author:
stoecker
Message:

see #24104, add deprecated dates for remaining used functions, patch by gaben (stripped down a lot)

File:
1 edited

Legend:

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

    r18589 r19319  
    178178     * @deprecated since 18464 (use {@link ILatLon#equalsEpsilon(ILatLon)} instead)
    179179     */
    180     @Deprecated
     180    @Deprecated(since = "18464", forRemoval = true)
    181181    public boolean equalsEpsilon(LatLon other) {
    182182        return ILatLon.super.equalsEpsilon(other);
    183     }
    184 
    185     /**
    186      * Determines if this lat/lon is outside of the world
    187      * @return <code>true</code>, if the coordinate is outside the world, compared by using lat/lon.
    188      * @deprecated use {@link Node#isOutSideWorld} instead, see also #13538.
    189      */
    190     @Deprecated
    191     public boolean isOutSideWorld() {
    192         Bounds b = ProjectionRegistry.getProjection().getWorldBoundsLatLon();
    193         return lat() < b.getMinLat() || lat() > b.getMaxLat() ||
    194                 lon() < b.getMinLon() || lon() > b.getMaxLon();
    195183    }
    196184
     
    221209     * @deprecated since 18494 (use {@link ILatLon#greatCircleDistance(ILatLon)} instead)
    222210     */
    223     @Deprecated
     211    @Deprecated(since = "18494", forRemoval = true)
    224212    public double greatCircleDistance(LatLon other) {
    225213        return ILatLon.super.greatCircleDistance(other);
     
    242230     * @deprecated since 18494 (use {@link ILatLon#bearing(ILatLon)} instead)
    243231     */
    244     @Deprecated
     232    @Deprecated(since = "18494", forRemoval = true)
    245233    public double bearing(LatLon other) {
    246234        return ILatLon.super.bearing(other);
Note: See TracChangeset for help on using the changeset viewer.