Java S107 : Ignore methods annotated with Spring '@RequestMapping' is not working


(Vishal ) #1

Version: SonarQube : 6.7.3, SonarJava Plugin : 5.8

Issue: I am using Spring’s @RequestMapping annotation in the Java code and the method has 10 parameter. However, they are not being ignored. But the rule description says they will be ignored. Can you tell me where am I making a mistake.
See the attached image. Sorry I have to hide the names due to the company policies.