SONARJAVA-6931 ci-autofix: Investigate red master CI - #6107
SONARJAVA-6931 ci-autofix: Investigate red master CI#6107hashicorp-vault-sonar-prod[bot] wants to merge 3 commits into
Conversation
|
gitar auto-apply:on |
|
gitar master CI is failing https://next.sonarqube.com/sonarqube/dashboard?id=org.sonarsource.java%3Ajava&branch=master. Investigate the failure and fix it in this PR if possible. If not, leave a comment with your investigation results. |
Use Objects.equals instead of expectedMessage.equals to defensively guard against a null expectedMessage, addressing the SonarQube Reliability finding (S2259) that failed the master Quality Gate.
Co-authored-by: hashicorp-vault-sonar-prod[bot] <111297361+hashicorp-vault-sonar-prod[bot]@users.noreply.github.com>
|
Investigated the red master CI. The failing check is the The open issue is if (!expectedMessage.equals(issue.getMessage())) {
Fixed by using |
Code Review ✅ Approved 1 resolved / 1 findingsAdds null-check guard on an unreachable path in ✅ 1 resolved✅ Quality: NPE guard added on unreachable path; real nullable deref untouched
Options ✅ Auto-apply✅ Auto-apply is on → Gitar will commit updates to this branch. Comment with these commands to change the behavior for this request:
Was this helpful? React with 👍 / 👎 | Gitar |
|




The latest CI run on
masteris red: SonarQube Code Analysis (run 102448842840).This PR was opened with an empty commit to reserve a place for the CI fix.