Exclude S1610 for @AutoValue

112 views
Skip to first unread message

simon....@gmail.com

unread,
Jun 8, 2018, 3:01:36 AM6/8/18
to SonarQube
Hi,
Google's AutoValue [1] expects data classes and builders to be abstract classes, see [2] and [3]. Therefore, please exclude the S1610 rule ("Abstract classes without fields should be converted to interfaces") for classes annotated with `@com.google.auto.value.AutoValue` or `@com.google.auto.value.AutoValue.Builder`.
Thanks!
Simon

Andrei Epure

unread,
Jun 11, 2018, 5:32:21 AM6/11/18
to SonarQube
Hi Simon.

Thank you, I've opened SONARJAVA-2788.

Regards,
Andrei

Andrei Epure | SonarSource

Software Developer

https://sonarsource.com


Are you using SonarLint in your IDE?


Reply all
Reply to author
Forward
0 new messages