mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
Add @Override annotations to test sources
Issue: SPR-10129
This commit is contained in:
@@ -28,14 +28,17 @@ import org.springframework.scheduling.annotation.AsyncResult;
|
||||
@Scope("myScope")
|
||||
public class ScopedProxyTestBean implements FooService {
|
||||
|
||||
@Override
|
||||
public String foo(int id) {
|
||||
return "bar";
|
||||
}
|
||||
|
||||
@Override
|
||||
public Future<String> asyncFoo(int id) {
|
||||
return new AsyncResult<String>("bar");
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isInitCalled() {
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user