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/cache/CacheEntryAttributes.java

    r12279 r12620  
    1111
    1212import org.apache.commons.jcs.engine.ElementAttributes;
    13 import org.openstreetmap.josm.Main;
     13import org.openstreetmap.josm.tools.Logging;
    1414
    1515/**
     
    162162        for (Entry<String, String> e: map.entrySet()) {
    163163            if (RESERVED_KEYS.contains(e.getKey())) {
    164                 Main.info("Metadata key configuration contains key {0} which is reserved for internal use");
     164                Logging.info("Metadata key configuration contains key {0} which is reserved for internal use");
    165165            } else {
    166166                attrs.put(e.getKey(), e.getValue());
     
    191191     */
    192192    public void setError(Exception error) {
    193         setErrorMessage(Main.getErrorMessage(error));
     193        setErrorMessage(Logging.getErrorMessage(error));
    194194    }
    195195
Note: See TracChangeset for help on using the changeset viewer.