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/relation/DownloadRelationTask.java

    r10611 r12620  
    2121import org.openstreetmap.josm.io.OsmTransferException;
    2222import org.openstreetmap.josm.tools.CheckParameterUtil;
     23import org.openstreetmap.josm.tools.Logging;
    2324import org.xml.sax.SAXException;
    2425
     
    105106        } catch (OsmTransferException | InvocationTargetException | InterruptedException e) {
    106107            if (canceled) {
    107                 Main.warn(tr("Ignoring exception because task was canceled. Exception: {0}", e.toString()));
     108                Logging.warn(tr("Ignoring exception because task was canceled. Exception: {0}", e.toString()));
    108109                return;
    109110            }
Note: See TracChangeset for help on using the changeset viewer.