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/gui/bbox/SlippyMapBBoxChooser.java

    r12339 r12620  
    4444import org.openstreetmap.josm.gui.layer.AbstractCachedTileSourceLayer;
    4545import org.openstreetmap.josm.gui.layer.TMSLayer;
     46import org.openstreetmap.josm.tools.Logging;
    4647
    4748/**
     
    8687                    }
    8788                } catch (IllegalArgumentException ex) {
    88                     Main.warn(ex);
     89                    Logging.warn(ex);
    8990                    if (ex.getMessage() != null && !ex.getMessage().isEmpty()) {
    9091                        JOptionPane.showMessageDialog(Main.parent,
     
    134135     */
    135136    public SlippyMapBBoxChooser() {
    136         debug = Main.isDebugEnabled();
     137        debug = Logging.isDebugEnabled();
    137138        SpringLayout springLayout = new SpringLayout();
    138139        setLayout(springLayout);
Note: See TracChangeset for help on using the changeset viewer.