Ref: add new static analyser rule: category/java/bestpractices.xml/MissingOverride

This commit is contained in:
Laurent Clouet
2024-06-07 14:30:24 +00:00
parent bcb9eff255
commit 705203708b
11 changed files with 15 additions and 12 deletions

View File

@@ -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());
}
}