Ignore:
Timestamp:
2011-07-25T00:48:51+02:00 (13 years ago)
Author:
bastiK
Message:

do not save username in preference file unconditionally - let the credentials manager handle it

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/tools/ExceptionUtil.java

    r4036 r4263  
    2727import org.openstreetmap.josm.io.OsmApiInitializationException;
    2828import org.openstreetmap.josm.io.OsmTransferException;
     29import org.openstreetmap.josm.io.auth.CredentialsManager;
    2930
    3031public class ExceptionUtil {
     
    115116                + "Please check the username and the password in the JOSM preferences."
    116117                + "</html>",
    117                 Main.pref.get("osm-server.username")
     118                CredentialsManager.getInstance().getUsername()
    118119        );
    119120    }
Note: See TracChangeset for help on using the changeset viewer.