Changeset 2672 in josm


Ignore:
Timestamp:
2009-12-22T09:47:07+01:00 (12 years ago)
Author:
Gubaer
Message:

fixed #4214: error opening prefrences window

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/io/auth/JosmPreferencesCredentialManager.java

    r2641 r2672  
    3030            if (user == null)
    3131                return null;
    32             return new PasswordAuthentication(user, password == null ? null : password.toCharArray());
     32            return new PasswordAuthentication(user, password == null ? new char[0] : password.toCharArray());
    3333        case PROXY:
    3434            user = Main.pref.get(ProxyPreferences.PROXY_USER, null);
Note: See TracChangeset for help on using the changeset viewer.