Ignore:
Timestamp:
2017-08-22T22:26:32+02:00 (3 years ago)
Author:
Don-vip
Message:

see #15182 - deprecate all Main logging methods and introduce suitable replacements in Logging for most of them

File:
1 edited

Legend:

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

    r12561 r12620  
    2626import org.openstreetmap.josm.Main;
    2727import org.openstreetmap.josm.data.Bounds;
     28import org.openstreetmap.josm.tools.Logging;
    2829import org.openstreetmap.josm.tools.Utils;
    2930
     
    396397        // (This should almost never happen.)
    397398        if (java.lang.Double.isNaN(d)) {
    398             Main.error("NaN in greatCircleDistance");
     399            Logging.error("NaN in greatCircleDistance");
    399400            d = PI * WGS84.a;
    400401        }
Note: See TracChangeset for help on using the changeset viewer.