Skip to content

Commit

Permalink
Display name and description for NoRequestMappingAnnotation
Browse files Browse the repository at this point in the history
  • Loading branch information
jkschneider committed Apr 22, 2021
1 parent a59d435 commit 1de360c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,12 @@
public class NoRequestMappingAnnotation extends Recipe {
@Override
public String getDisplayName() {
return "No Method Declaration Request Mapping Annotations";
return "No `@RequestMapping` annotations";
}

@Override
public String getDescription() {
return "Replace method declaration @RequestMapping annotations with the associated variant as defined by the request method type (GET, POST, PUT, PATCH, DELETE).";
return "Replace method declaration `@RequestMapping` annotations with `@GetMapping`, `@PostMapping`, etc. when possible.";
}

@Override
Expand Down

0 comments on commit 1de360c

Please sign in to comment.