Add missing @Override annotations

This commit is contained in:
Sam Brannen
2019-08-22 14:48:08 +02:00
parent 0b63db26b7
commit ad6231ad29
108 changed files with 321 additions and 0 deletions

View File

@@ -138,6 +138,7 @@ public class BeanWrapperTests extends AbstractPropertyAccessorTests {
}
}
@Override
@Test // Can't be shared: no type mismatch with a field
public void setPropertyTypeMismatch() {
PropertyTypeMismatch target = new PropertyTypeMismatch();
@@ -235,10 +236,12 @@ public class BeanWrapperTests extends AbstractPropertyAccessorTests {
private String name;
@Override
public void setName(String name) {
this.name = name;
}
@Override
public String getName() {
if (this.name == null) {
throw new RuntimeException("name property must be set");