Add @Override to remaining source files

Issue: SPR-10130
This commit is contained in:
Rob Winch
2013-05-13 16:47:34 -05:00
parent 30db112d37
commit 9468548116
1279 changed files with 5825 additions and 2 deletions

View File

@@ -124,6 +124,7 @@ public class ContextHierarchyDirtiesContextTests {
}
}
@Override
public void setApplicationContext(ApplicationContext applicationContext) throws BeansException {
ContextHierarchyDirtiesContextTests.context = applicationContext;
ContextHierarchyDirtiesContextTests.baz = applicationContext.getBean("bean", String.class);

View File

@@ -29,6 +29,7 @@ public class LegacyEntity {
private Object collaborator = new Object() {
@Override
public String toString() {
throw new RuntimeException(
"Invoking toString() on the default collaborator causes an undesirable side effect");
@@ -36,6 +37,7 @@ public class LegacyEntity {
};
@Override
public String toString() {
return new ToStringCreator(this)//
.append("collaborator", this.collaborator)//

View File

@@ -79,6 +79,7 @@ public class Person extends PersistentEntity {
this.favoriteNumber = favoriteNumber;
}
@Override
public String toString() {
return new ToStringCreator(this)