- Timestamp:
- 2009-08-12T11:52:42+02:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/io/OsmConnection.java
r1955 r1962 25 25 import org.openstreetmap.josm.tools.Base64; 26 26 import org.openstreetmap.josm.tools.GBC; 27 import org.openstreetmap.josm.io.CredentialsManager.CMException;28 27 29 28 /** … … 115 114 auth = credentialsManager.lookupUsername() + ":" + credentialsManager.lookupPassword(); 116 115 } 117 } catch (C MException e) {116 } catch (CredentialsManager.CMException e) { 118 117 auth = ":"; 119 118 } … … 237 236 "WARNING: The password is stored in plain text in the preferences file.<br>" + 238 237 "The password is transferred in plain text to the server, encoded in the URL.<br>" + 239 238 "<b>Do not use a valuable Password.</b></html>")); 240 239 warning.setFont(warning.getFont().deriveFont(Font.ITALIC)); 241 240 panel.add(warning, GBC.eop().fill(GBC.HORIZONTAL)); … … 244 243 String newUsername = osmDataUsername.getText(); 245 244 String newPassword = String.valueOf(osmDataPassword.getPassword()); 246 if (!oldUsername.equals(newUsername)) 245 if (!oldUsername.equals(newUsername)) { 247 246 storeUsername(newUsername); 248 if (!oldPassword.equals(newPassword)) 247 } 248 if (!oldPassword.equals(newPassword)) { 249 249 storePassword(newPassword); 250 } 250 251 } 251 252 };
Note:
See TracChangeset
for help on using the changeset viewer.