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/io/imagery/ImageryReader.java

    r12279 r12620  
    1515import javax.xml.parsers.ParserConfigurationException;
    1616
    17 import org.openstreetmap.josm.Main;
    1817import org.openstreetmap.josm.data.imagery.ImageryInfo;
    1918import org.openstreetmap.josm.data.imagery.ImageryInfo.ImageryBounds;
     
    2423import org.openstreetmap.josm.tools.JosmRuntimeException;
    2524import org.openstreetmap.josm.tools.LanguageInfo;
     25import org.openstreetmap.josm.tools.Logging;
    2626import org.openstreetmap.josm.tools.MultiMap;
    2727import org.openstreetmap.josm.tools.Utils;
     
    9797            throw e;
    9898        } catch (ParserConfigurationException e) {
    99             Main.error(e); // broken SAXException chaining
     99            Logging.error(e); // broken SAXException chaining
    100100            throw new SAXException(e);
    101101        }
     
    219219                                        atts.getValue("max-lon"), ",");
    220220                    } catch (IllegalArgumentException e) {
    221                         Main.trace(e);
     221                        Logging.trace(e);
    222222                        break;
    223223                    }
     
    252252                        shape.addPoint(atts.getValue("lat"), atts.getValue("lon"));
    253253                    } catch (IllegalArgumentException e) {
    254                         Main.trace(e);
     254                        Logging.trace(e);
    255255                        break;
    256256                    }
Note: See TracChangeset for help on using the changeset viewer.