FP S1105 for java 16+ and records

  • SonarQube 9.1.47736
  • Sonar-java (Bundled) -
  • Scanner sonar-maven-plugin -
  • Java 16+

Looks like FP for S1105 when we use records. There is no code format/combination for passing this issue for records. (I didn’t find)

package bar.example

public record Foo(String x,
                  String y,
                  String z) {

Hello @Osmyslitelny and welcome to the community.

It makes sense to me, ticket created: SONARJAVA-4094.

Thanks for taking the time to report this issue.


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.