mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-27 07:34:20 +00:00
Call to JPasswordField.getText() is deprecated. Changed to getPassword(). jrg
This commit is contained in:
parent
5ffcd40159
commit
d5edc578e7
@ -231,7 +231,7 @@ public class DialogAuthenticator extends Authenticator {
|
||||
|
||||
public String getPassword() {
|
||||
if (fOK) {
|
||||
return fPasswordField.getText();
|
||||
return new String( fPasswordField.getPassword() );
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user