Add @Override annotations to test sources
Issue: SPR-10129
This commit is contained in:
@@ -74,16 +74,19 @@ public class FooServiceImpl implements FooService {
|
||||
this.initCalled = true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String foo(int id) {
|
||||
return this.fooDao.findFoo(id);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Future<String> asyncFoo(int id) {
|
||||
System.out.println(Thread.currentThread().getName());
|
||||
Assert.state(ServiceInvocationCounter.getThreadLocalCount() != null, "Thread-local counter not exposed");
|
||||
return new AsyncResult<String>(this.fooDao.findFoo(id));
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isInitCalled() {
|
||||
return this.initCalled;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user