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/oauth/FullyAutomaticAuthorizationUI.java

    r11848 r12620  
    2929import javax.swing.text.html.HTMLEditorKit;
    3030
    31 import org.openstreetmap.josm.Main;
    3231import org.openstreetmap.josm.data.Preferences;
    3332import org.openstreetmap.josm.data.oauth.OAuthToken;
     
    5049import org.openstreetmap.josm.io.auth.CredentialsManager;
    5150import org.openstreetmap.josm.tools.ImageProvider;
     51import org.openstreetmap.josm.tools.Logging;
    5252import org.openstreetmap.josm.tools.Utils;
    5353import org.xml.sax.SAXException;
     
    185185            }
    186186        } catch (CredentialsAgentException e) {
    187             Main.error(e);
     187            Logging.error(e);
    188188            tfUserName.setText("");
    189189            tfPassword.setText("");
     
    472472                }
    473473            };
    474             Main.error(e);
     474            Logging.error(e);
    475475            GuiHelper.runInEDT(r);
    476476        }
Note: See TracChangeset for help on using the changeset viewer.