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/dialogs/MapPaintDialog.java

    r12279 r12620  
    7979import org.openstreetmap.josm.tools.ImageProvider.ImageSizes;
    8080import org.openstreetmap.josm.tools.InputMapUtils;
     81import org.openstreetmap.josm.tools.Logging;
    8182import org.openstreetmap.josm.tools.Shortcut;
    8283import org.openstreetmap.josm.tools.Utils;
     
    490491                    }
    491492                } catch (IOException e) {
    492                     Main.warn(e);
     493                    Logging.warn(e);
    493494                    error = true;
    494495                }
     
    638639                }
    639640            } catch (IOException ex) {
    640                 Main.error(ex);
     641                Logging.error(ex);
    641642                txtSource.append("<ERROR: failed to read file!>");
    642643            }
Note: See TracChangeset for help on using the changeset viewer.