Ignore:
Timestamp:
2017-08-22T22:26:32+02:00 (9 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/actions/upload/ApiPreconditionCheckerHook.java

    r12581 r12620  
    1919import org.openstreetmap.josm.io.OsmApiInitializationException;
    2020import org.openstreetmap.josm.io.OsmTransferCanceledException;
     21import org.openstreetmap.josm.tools.Logging;
    2122
    2223/**
     
    4647            }
    4748        } catch (OsmTransferCanceledException e) {
    48             Main.trace(e);
     49            Logging.trace(e);
    4950            return false;
    5051        } catch (OsmApiInitializationException e) {
     
    6263                    if (osmPrimitive.isDeleted()) {
    6364                        // if OsmPrimitive is going to be deleted we automatically shorten the value
    64                         Main.warn(
     65                        Logging.warn(
    6566                                tr("Automatically truncating value of tag ''{0}'' on deleted object {1}",
    6667                                        key,
Note: See TracChangeset for help on using the changeset viewer.