SpringMvcAnnotation
SUGGESTION
Simplification
Summary
Prefer the conciseness of
@{Get,Put,Post,Delete,Patch}Mapping
over@RequestMapping
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("SpringMvcAnnotation")
to the enclosing element.Disable this pattern completely by adding
-Xep:SpringMvcAnnotation:OFF
as compiler argument. Learn more.