Ignore:
Timestamp:
2017-08-22T22:26:32+02:00 (7 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/io/nmea/NmeaReader.java

    r12617 r12620  
    1616import java.util.Optional;
    1717
    18 import org.openstreetmap.josm.Main;
    1918import org.openstreetmap.josm.data.coor.LatLon;
    2019import org.openstreetmap.josm.data.gpx.GpxConstants;
     
    2322import org.openstreetmap.josm.data.gpx.WayPoint;
    2423import org.openstreetmap.josm.io.IllegalDataException;
     24import org.openstreetmap.josm.tools.Logging;
    2525import org.openstreetmap.josm.tools.date.DateUtils;
    2626
     
    209209
    210210        } catch (IllegalDataException e) {
    211             Main.warn(e);
     211            Logging.warn(e);
    212212        }
    213213    }
     
    480480        } catch (IllegalArgumentException | IndexOutOfBoundsException | IllegalDataException ex) {
    481481            if (ps.malformed < 5) {
    482                 Main.warn(ex);
     482                Logging.warn(ex);
    483483            } else {
    484                 Main.debug(ex);
     484                Logging.debug(ex);
    485485            }
    486486            ps.malformed++;
Note: See TracChangeset for help on using the changeset viewer.