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/search/SearchAction.java

    r12578 r12620  
    6262import org.openstreetmap.josm.tools.GBC;
    6363import org.openstreetmap.josm.tools.JosmRuntimeException;
     64import org.openstreetmap.josm.tools.Logging;
    6465import org.openstreetmap.josm.tools.Shortcut;
    6566import org.openstreetmap.josm.tools.Utils;
     
    416417                        super.buttonAction(buttonIndex, evt);
    417418                    } catch (ParseError e) {
    418                         Main.debug(e);
     419                        Logging.debug(e);
    419420                        JOptionPane.showMessageDialog(
    420421                                Main.parent,
     
    825826                subMonitor.finishTask();
    826827            } catch (ParseError e) {
    827                 Main.debug(e);
     828                Logging.debug(e);
    828829                JOptionPane.showMessageDialog(
    829830                        Main.parent,
     
    953954                    break;
    954955                } else {
    955                     Main.warn("Unknown char in SearchSettings: " + s);
     956                    Logging.warn("Unknown char in SearchSettings: " + s);
    956957                    break;
    957958                }
Note: See TracChangeset for help on using the changeset viewer.