Ignore:
Timestamp:
2010-11-29T13:08:25+01:00 (11 years ago)
Author:
bastiK
Message:

fixed #5624 - npe in authentication code

File:
1 edited

Legend:

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

    r3513 r3681  
    4040            if (user == null)
    4141                return null;
    42             return new PasswordAuthentication(user, password == null ? null : password.toCharArray());
     42            return new PasswordAuthentication(user, password == null ? new char[0] : password.toCharArray());
    4343        }
    4444        return null;
Note: See TracChangeset for help on using the changeset viewer.