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/data/osm/DataSet.java

    r12542 r12620  
    5555import org.openstreetmap.josm.gui.tagging.ac.AutoCompletionManager;
    5656import org.openstreetmap.josm.tools.ListenerList;
     57import org.openstreetmap.josm.tools.Logging;
    5758import org.openstreetmap.josm.tools.SubclassFilteredCollection;
    5859
     
    10101011        OsmPrimitive result = getPrimitiveById(primitiveId);
    10111012        if (result == null && primitiveId != null) {
    1012             Main.warn(tr("JOSM expected to find primitive [{0} {1}] in dataset but it is not there. Please report this "
     1013            Logging.warn(tr("JOSM expected to find primitive [{0} {1}] in dataset but it is not there. Please report this "
    10131014                    + "at {2}. This is not a critical error, it should be safe to continue in your work.",
    10141015                    primitiveId.getType(), Long.toString(primitiveId.getUniqueId()), Main.getJOSMWebsite()));
    1015             Main.error(new Exception());
     1016            Logging.error(new Exception());
    10161017        }
    10171018
Note: See TracChangeset for help on using the changeset viewer.