Add missing @Override annotations
This commit is contained in:
@@ -578,6 +578,7 @@ public class MvcUriComponentsBuilderTests {
|
||||
|
||||
static class PersonCrudController extends AbstractCrudController<Person, Long> {
|
||||
|
||||
@Override
|
||||
@RequestMapping(path = "/{id}", method = RequestMethod.GET)
|
||||
public Person get(@PathVariable Long id) {
|
||||
return new Person();
|
||||
|
||||
@@ -3230,11 +3230,13 @@ public class ServletAnnotationControllerHandlerMethodTests extends AbstractServl
|
||||
@RequestMapping(path = ApiConstants.ARTICLES_PATH)
|
||||
public static class ArticleController implements ApiConstants, ResourceEndpoint<Article, ArticlePredicate> {
|
||||
|
||||
@Override
|
||||
@GetMapping(params = "page")
|
||||
public Collection<Article> find(String pageable, ArticlePredicate predicate) {
|
||||
throw new UnsupportedOperationException("not implemented");
|
||||
}
|
||||
|
||||
@Override
|
||||
@GetMapping
|
||||
public List<Article> find(boolean sort, ArticlePredicate predicate) {
|
||||
throw new UnsupportedOperationException("not implemented");
|
||||
|
||||
Reference in New Issue
Block a user