Ref: add new static analyser rule: category/java/bestpractices.xml/MissingOverride
This commit is contained in:
@@ -32,7 +32,7 @@ public class ProxyAuthenticator extends Authenticator {
|
||||
this.password = password;
|
||||
}
|
||||
|
||||
protected PasswordAuthentication getPasswordAuthentication() {
|
||||
@Override protected PasswordAuthentication getPasswordAuthentication() {
|
||||
return new PasswordAuthentication(user, password.toCharArray());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user