Hi
Using Sonarqube 9.3 with java we get findings on method signature that are overriden:
e.g rule java:S3553 is violated for this code:
@Override
public ListPartitionReassignmentsResult listPartitionReassignments(Optional<Set<TopicPartition>> partitions, ListPartitionReassignmentsOptions options) {
return client.listPartitionReassignments(partitions, options);
}
Sonar should only complain on the base declaration which is out of scope in this example as it is from the kafka library. Its not possible to fix method signatures on overriden methods.
Kind regards,
Michael