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
CI failed: The build experienced one integration test failure in `JavaRulingTest` due to updated analyzer behavior, along with a transient infrastructure failure caused by a 503 error from the SonarQube server.OverviewThis build failure includes one change-related test regression and one transient infrastructure issue. The primary blocking issue is an assertion failure in the integration test suite, while the secondary issue is a temporary connectivity problem with the SonarQube server. FailuresJavaRulingTest failure (confidence: high)
SonarQube Server 503 (confidence: high)
Summary
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.