Changeset 10843 in josm


Ignore:
Timestamp:
2016-08-18T20:00:28+02:00 (4 years ago)
Author:
Don-vip
Message:

see #13306 - remove (temporarily ?) deprecation warning for getPoint methods, still massively used in JOSM core

File:
1 edited

Legend:

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

    r10827 r10843  
    505505
    506506    /**
    507      * @deprecated looses precision, may overflow (depends on p and current scale)
    508      */
    509     @Deprecated
     507     * looses precision, may overflow (depends on p and current scale)
     508     * @see #getPoint2D(EastNorth)
     509     */
    510510    public Point getPoint(EastNorth p) {
    511511        Point2D d = getPoint2D(p);
     
    514514
    515515    /**
    516      * @deprecated looses precision, may overflow (depends on p and current scale)
    517      */
    518     @Deprecated
     516     * looses precision, may overflow (depends on p and current scale)
     517     * @see #getPoint2D(LatLon)
     518     */
    519519    public Point getPoint(LatLon latlon) {
    520520        Point2D d = getPoint2D(latlon);
     
    523523
    524524    /**
    525      * @deprecated looses precision, may overflow (depends on p and current scale)
    526      */
    527     @Deprecated
     525     * looses precision, may overflow (depends on p and current scale)
     526     * @see #getPoint2D(Node)
     527     */
    528528    public Point getPoint(Node n) {
    529529        Point2D d = getPoint2D(n);
Note: See TracChangeset for help on using the changeset viewer.