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

@@ -116,6 +116,7 @@ public class Server extends Thread {
this.httpClient = getOkHttpClient();
}
@Override
public void run() {
this.stayAlive();
}
@@ -191,7 +192,7 @@ public class Server extends Thread {
}
}
public String toString() {
@Override public String toString() {
return String.format("Server (base_url '%s', user_config %s", this.base_url, this.user_config);
}