Ignore:
Timestamp:
2017-08-22T22:26:32+02:00 (9 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/gui/dialogs/properties/PropertiesDialog.java

    r12523 r12620  
    105105import org.openstreetmap.josm.tools.InputMapUtils;
    106106import org.openstreetmap.josm.tools.LanguageInfo;
     107import org.openstreetmap.josm.tools.Logging;
    107108import org.openstreetmap.josm.tools.OpenBrowser;
    108109import org.openstreetmap.josm.tools.Shortcut;
     
    11721173                Main.worker.execute(() -> displayHelp(uris));
    11731174            } catch (URISyntaxException e1) {
    1174                 Main.error(e1);
     1175                Logging.error(e1);
    11751176            }
    11761177        }
     
    12021203                         */
    12031204                        if (osize > -1 && conn.getContentLength() != -1 && Math.abs(conn.getContentLength() - osize) > 200) {
    1204                             Main.info("{0} is a mediawiki redirect", u);
     1205                            Logging.info("{0} is a mediawiki redirect", u);
    12051206                            conn.disconnect();
    12061207                        } else {
     
    12131214                }
    12141215            } catch (URISyntaxException | IOException e1) {
    1215                 Main.error(e1);
     1216                Logging.error(e1);
    12161217            }
    12171218        }
     
    14151416                tagRowSorter.convertRowIndexToModel(tagTable.getSelectedRow());
    14161417            } catch (IndexOutOfBoundsException ignore) {
    1417                 Main.trace(ignore);
    1418                 Main.trace("Clearing tagTable selection");
     1418                Logging.trace(ignore);
     1419                Logging.trace("Clearing tagTable selection");
    14191420                tagTable.clearSelection();
    14201421            }
Note: See TracChangeset for help on using the changeset viewer.