Add missing @Override annotations
This commit also adds MissingOverrideCheck module to Checkstyle configuration.
This commit is contained in:
@@ -65,6 +65,7 @@ public class Account {
|
||||
this.overdraft = overdraft;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "Account[id=" + id + ",balance=" + balance + ",holder=" + holder
|
||||
+ ", overdraft=" + overdraft + "]";
|
||||
|
||||
Reference in New Issue
Block a user