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/actions/AboutAction.java

    r12279 r12620  
    3131import org.openstreetmap.josm.tools.GBC;
    3232import org.openstreetmap.josm.tools.ImageProvider;
     33import org.openstreetmap.josm.tools.Logging;
    3334import org.openstreetmap.josm.tools.Shortcut;
    3435
     
    137138                }
    138139            } catch (IOException e) {
    139                 Main.warn(e);
     140                Logging.warn(e);
    140141                displayErrorMessage(ta, tr("Failed to load resource ''{0}'', error is {1}.", filePath, e.toString()));
    141142            }
     
    144145
    145146    private static void displayErrorMessage(JTextArea ta, String msg) {
    146         Main.warn(msg);
     147        Logging.warn(msg);
    147148        ta.setForeground(new Color(200, 0, 0));
    148149        ta.setText(msg);
Note: See TracChangeset for help on using the changeset viewer.