Ignore:
Timestamp:
2017-11-21T00:57:05+01:00 (2 years ago)
Author:
Don-vip
Message:

see #15229 - provide a replacement API to deprecated Coordinate.toBBox() (used by plugins)

File:
1 edited

Legend:

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

    r13107 r13140  
    9999     * @return BBox around this coordinate
    100100     * @since 6203
    101      * @deprecated no longer supported
     101     * @deprecated use {@link BBox#BBox(double, double, double)} instead
    102102     */
    103103    @Deprecated
    104104    public BBox toBBox(final double r) {
    105         return new BBox(x - r, y - r, x + r, y + r);
     105        return new BBox(x, y, r);
    106106    }
    107107
Note: See TracChangeset for help on using the changeset viewer.