Changeset 2650 in josm for trunk/src/org
- Timestamp:
- 2009-12-17T20:29:48+01:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/preferences/ServerAccessPreference.java
r2641 r2650 46 46 try { 47 47 PasswordAuthentication credentials = cm.lookup(RequestorType.SERVER); 48 oldUsername = (credentials == null | credentials.getUserName() == null) ? "" : credentials.getUserName();49 oldPassword = (credentials == null | credentials.getPassword() == null) ? "" : String.valueOf(credentials.getPassword());48 oldUsername = (credentials == null || credentials.getUserName() == null) ? "" : credentials.getUserName(); 49 oldPassword = (credentials == null || credentials.getPassword() == null) ? "" : String.valueOf(credentials.getPassword()); 50 50 } catch(CredentialsManagerException e) { 51 51 e.printStackTrace();
Note:
See TracChangeset
for help on using the changeset viewer.