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/gui/download/BookmarkList.java

    r12606 r12620  
    4040import org.openstreetmap.josm.tools.ImageProvider;
    4141import org.openstreetmap.josm.tools.ImageProvider.ImageSizes;
     42import org.openstreetmap.josm.tools.Logging;
    4243
    4344/**
     
    255256                model.addElement(new HomeLocationBookmark());
    256257            } catch (IllegalStateException e) {
    257                 Main.info(e.getMessage());
    258                 Main.trace(e);
     258                Logging.info(e.getMessage());
     259                Logging.trace(e);
    259260            }
    260261        }
     
    267268                    bookmarks.add(new Bookmark(entry));
    268269                } catch (IllegalArgumentException e) {
    269                     Main.error(e, tr("Error reading bookmark entry: %s", e.getMessage()));
     270                    Logging.log(Logging.LEVEL_ERROR, tr("Error reading bookmark entry: %s", e.getMessage()), e);
    270271                }
    271272            }
Note: See TracChangeset for help on using the changeset viewer.