-
What language is this for?
Java -
Which rule?
RSPEC-1172 Unused method parameters should be removed -
Why do you believe it’s a false-negative?
The following code triggers the rule:
public int method(int a, int b) {
return a+1;
}
but if you add an javax.ws.rs.Path annotation, the method pass without any issue:
import javax.ws.rs.Path;
@Path("text")
public int method(int a, int b) {
return a+1;
}
- Are you using
- SonarCloud