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/tools/XmlObjectParser.java

    r12382 r12620  
    160160                }
    161161            } catch (ReflectiveOperationException | IllegalArgumentException e) {
    162                 Main.error(e); // SAXException does not dump inner exceptions.
     162                Logging.error(e); // SAXException does not dump inner exceptions.
    163163                throwException(e);
    164164            }
     
    206206                    return f;
    207207                } catch (NoSuchFieldException ex) {
    208                     Main.trace(ex);
     208                    Logging.trace(ex);
    209209                    fields.put(s, null);
    210210                    return null;
     
    254254            } catch (SAXException e) {
    255255                // Exception very unlikely to happen, so no need to translate this
    256                 Main.error(e, "Cannot disable 'load-external-dtd' feature:");
     256                Logging.log(Logging.LEVEL_ERROR, "Cannot disable 'load-external-dtd' feature:", e);
    257257            }
    258258            reader.parse(new InputSource(in));
Note: See TracChangeset for help on using the changeset viewer.