SONARJAVA-6434 S1186 Do not report on annotated compact constructors in records#5647
SONARJAVA-6434 S1186 Do not report on annotated compact constructors in records#5647tomasz-tylenda-sonarsource wants to merge 1 commit into
Conversation
Agentic Analysis: Early ResultsAgentic Analysis and Context Augmentation are available on your project. Here are some issues that could have been prevented. Follow the links to learn how to put them into action. 3 issue(s) found across 1 file(s):
Analyzed by SonarQube Agentic Analysis in 5.7 s |
|
8e35517 to
eafa6c0
Compare
Code Review ✅ Approved 1 resolved / 1 findingsModifies EmptyMethodsCheck to ignore annotated compact constructors in Java records. Cleanup of unused field and local variable findings ensures code cleanliness. ✅ 1 resolved✅ Quality: Unused field
|
| Auto-apply | Compact |
|
|
Was this helpful? React with 👍 / 👎 | Gitar




Summary by Gitar
EmptyMethodsCheckto ignore annotated compact constructors in Java records.isAnnotatedCompactConstructorhelper to verify constructor annotations and record syntax.This will update automatically on new commits.