| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:f546ac55-4258-88fc-13af-e7d3f3ebff5c |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D358:1096C6:1668D5:1CBA39:6AFE46F8 |
| html-safe-nonce | 1af56cefb3b82a30c6077690f2443ba2d0139767dfafed1ef34b56b1892c081a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMzU4OjEwOTZDNjoxNjY4RDU6MUNCQTM5OjZBRkU0NkY4IiwidmlzaXRvcl9pZCI6Ijc3MTQ1OTQ1MTkxMzEyNDQyODEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 955f038772e4ec8ccd1421b2602e11ecd045cd666bc910ca8f44d6a340e9bc28 |
| hovercard-subject-tag | pull_request:4831532089 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/SonarSource/sonar-java/6332/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/b497fea323dc0c6694f1cfd1cd5e92584f913ff64e0803ba811c0afe5f79f750/SonarSource/sonar-java/pull/6332 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b497fea323dc0c6694f1cfd1cd5e92584f913ff64e0803ba811c0afe5f79f750/SonarSource/sonar-java/pull/6332 |
| og:image:alt | Detects direct String trim() or strip() call chains used only for blankness checks, including isEmpty(), isBlank(), and zero/one length comparisons.
Agent workflow
PR created using uv run new_rule_... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | romainbrenguier |
| hostname | github.com |
| expected-hostname | github.com |
| None | f1a5901e2377b0af2a0b303f9528678f1475d04b9219dca1e993344196eaa07c |
| turbo-cache-control | no-cache |
| go-import | github.com/SonarSource/sonar-java git https://github.com/SonarSource/sonar-java.git |
| octolytics-dimension-user_id | 545988 |
| octolytics-dimension-user_login | SonarSource |
| octolytics-dimension-repository_id | 5674787 |
| octolytics-dimension-repository_nwo | SonarSource/sonar-java |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 5674787 |
| octolytics-dimension-repository_network_root_nwo | SonarSource/sonar-java |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | ce393ea11ad276623b946bc9663d3e7d6f564275 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/SonarSource/sonar-java/pull/6332#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FSonarSource%2Fsonar-java%2Fpull%2F6332 |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FSonarSource%2Fsonar-java%2Fpull%2F6332 |
| Sign up | https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=SonarSource%2Fsonar-java |
| Reload | https://github.com/SonarSource/sonar-java/pull/6332 |
| Reload | https://github.com/SonarSource/sonar-java/pull/6332 |
| Reload | https://github.com/SonarSource/sonar-java/pull/6332 |
| SonarSource | https://github.com/SonarSource |
| sonar-java | https://github.com/SonarSource/sonar-java |
| Code | https://github.com/SonarSource/sonar-java |
| Pull requests25 (25) | https://github.com/SonarSource/sonar-java/pulls |
| Actions | https://github.com/SonarSource/sonar-java/actions |
| Wiki | https://github.com/SonarSource/sonar-java/wiki |
| Security and quality | https://github.com/SonarSource/sonar-java/security |
| Insights | https://github.com/SonarSource/sonar-java/insights |
| https://github.com/SonarSource/sonar-java |
| romainbrenguier | https://github.com/romainbrenguier |
| master | https://github.com/SonarSource/sonar-java/tree/master |
| romain/new-rule-s9432-sonarjava-7157 | https://github.com/SonarSource/sonar-java/tree/romain/new-rule-s9432-sonarjava-7157 |
| Conversation | https://github.com/SonarSource/sonar-java/pull/6332 |
| Commits7 (7) | https://github.com/SonarSource/sonar-java/pull/6332/commits |
| Checks | https://github.com/SonarSource/sonar-java/pull/6332/checks |
| Files changed | https://github.com/SonarSource/sonar-java/pull/6332/files |
| SONARJAVA-7157: Implemented rule S9432 Strings should not be trimmed or stripped just to check if they are blank | https://github.com/SonarSource/sonar-java/pull/6332#top |
| romainbrenguier | https://github.com/romainbrenguier |
| master | https://github.com/SonarSource/sonar-java/tree/master |
| romain/new-rule-s9432-sonarjava-7157 | https://github.com/SonarSource/sonar-java/tree/romain/new-rule-s9432-sonarjava-7157 |
|
| https://github.com/romainbrenguier |
| romainbrenguier | https://github.com/romainbrenguier |
| Oct 12, 2026 | https://github.com/SonarSource/sonar-java/pull/6332#issue-5816261666 |
| Please reload this page | https://github.com/SonarSource/sonar-java/pull/6332 |
| https://github.com/SonarSource/languages-experimental-tooling/tree/romain/my-tickets/personal/romain-brenguier | https://github.com/SonarSource/languages-experimental-tooling/tree/romain/my-tickets/personal/romain-brenguier |
| Please reload this page | https://github.com/SonarSource/sonar-java/pull/6332 |
| romainbrenguier | https://github.com/romainbrenguier |
| October 12, 2026 17:23 | https://github.com/SonarSource/sonar-java/pull/6332#commits-pushed-0d0a17c |
|
| https://github.com/romainbrenguier |
| Add rule metadata | https://github.com/SonarSource/sonar-java/pull/6332/commits/0d0a17cb17f7e1580bb7b24116d33983c70caaf2 |
| 0d0a17c | https://github.com/SonarSource/sonar-java/pull/6332/commits/0d0a17cb17f7e1580bb7b24116d33983c70caaf2 |
|
| https://github.com/romainbrenguier |
| Add failing reproducer | https://github.com/SonarSource/sonar-java/pull/6332/commits/68e2c1533a52b7a7efb24c10d6695825e493785c |
| 68e2c15 | https://github.com/SonarSource/sonar-java/pull/6332/commits/68e2c1533a52b7a7efb24c10d6695825e493785c |
|
| https://github.com/romainbrenguier |
| Implement rule | https://github.com/SonarSource/sonar-java/pull/6332/commits/6089bfaf45a9df093a563e49010658df8c34718d |
| 6089bfa | https://github.com/SonarSource/sonar-java/pull/6332/commits/6089bfaf45a9df093a563e49010658df8c34718d |
| https://github.com/apps/hashicorp-vault-sonar-prod |
| hashicorp-vault-sonar-prod | https://github.com/apps/hashicorp-vault-sonar-prod |
| Oct 12, 2026 | https://github.com/SonarSource/sonar-java/pull/6332#issuecomment-6127347246 |
| Please reload this page | https://github.com/SonarSource/sonar-java/pull/6332 |
| SONARJAVA-7157 | https://sonarsource.atlassian.net/browse/SONARJAVA-7157 |
| Please reload this page | https://github.com/SonarSource/sonar-java/pull/6332 |
| https://github.com/apps/datadog-sonarsource |
| Sign in to view | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FSonarSource%2Fsonar-java%2Fpull%2F6332 |
| https://github.com/apps/github-actions |
| github-actions | https://github.com/apps/github-actions |
| Oct 12, 2026 | https://github.com/SonarSource/sonar-java/pull/6332#issuecomment-6127618370 |
| #6334 | https://github.com/SonarSource/sonar-java/pull/6334 |
| Please reload this page | https://github.com/SonarSource/sonar-java/pull/6332 |
| https://github.com/apps/github-actions |
| github-actions | https://github.com/apps/github-actions |
|
Oct 12, 2026
| https://github.com/SonarSource/sonar-java/pull/6332#ref-pullrequest-5816482600 |
|
Update ruling results for PR #6332
#6334
| https://github.com/SonarSource/sonar-java/pull/6334 |
| https://github.com/apps/gitar-bot |
| gitar-bot | https://github.com/apps/gitar-bot |
|
Oct 12, 2026
| https://github.com/SonarSource/sonar-java/pull/6332#pullrequestreview-5493027380 |
|
View reviewed changes
| https://github.com/SonarSource/sonar-java/pull/6332/files/6089bfaf45a9df093a563e49010658df8c34718d |
| java-checks/src/main/java/org/sonar/java/checks/S9432Check.java | https://github.com/SonarSource/sonar-java/pull/6332/files/6089bfaf45a9df093a563e49010658df8c34718d#diff-16ffa3479297438581c558c51d34964f606bd4aacfba991b73687f44539ef509 |
| Please reload this page | https://github.com/SonarSource/sonar-java/pull/6332 |
|
| https://github.com/romainbrenguier |
|
| https://github.com/claude |
| Qualify S9432 message for trim()-based checks | https://github.com/SonarSource/sonar-java/pull/6332/commits/987a0da952b9c09ec08a248f181cf82141acd751 |
| 987a0da | https://github.com/SonarSource/sonar-java/pull/6332/commits/987a0da952b9c09ec08a248f181cf82141acd751 |
| https://github.com/apps/github-actions |
| github-actions | https://github.com/apps/github-actions |
| Oct 13, 2026 | https://github.com/SonarSource/sonar-java/pull/6332#issuecomment-6147924399 |
| #6334 | https://github.com/SonarSource/sonar-java/pull/6334 |
| Please reload this page | https://github.com/SonarSource/sonar-java/pull/6332 |
| https://github.com/apps/github-actions |
| github-actions | https://github.com/apps/github-actions |
| Oct 13, 2026 | https://github.com/SonarSource/sonar-java/pull/6332#issuecomment-6147925697 |
| Please reload this page | https://github.com/SonarSource/sonar-java/pull/6332 |
| Please reload this page | https://github.com/SonarSource/sonar-java/pull/6332 |
| github-actions | https://github.com/apps/github-actions |
| October 14, 2026 09:40 | https://github.com/SonarSource/sonar-java/pull/6332#commits-pushed-a0eaa72 |
|
| https://github.com/apps/github-actions |
| Update ruling results for PR | https://github.com/SonarSource/sonar-java/pull/6332/commits/a0eaa726edae6ab9cd1e356cca2aea6f410a901f |
| #6332 | https://github.com/SonarSource/sonar-java/pull/6332 |
| ( | https://github.com/SonarSource/sonar-java/pull/6332/commits/a0eaa726edae6ab9cd1e356cca2aea6f410a901f |
| #6334 | https://github.com/SonarSource/sonar-java/pull/6334 |
| ) | https://github.com/SonarSource/sonar-java/pull/6332/commits/a0eaa726edae6ab9cd1e356cca2aea6f410a901f |
| a0eaa72 | https://github.com/SonarSource/sonar-java/pull/6332/commits/a0eaa726edae6ab9cd1e356cca2aea6f410a901f |
|
| https://github.com/romainbrenguier |
|
| https://github.com/claude |
| Increase S9432 coverage and remove unreachable branch | https://github.com/SonarSource/sonar-java/pull/6332/commits/a21986e37ec3c89bb1cc57d8ab08797f87ff0e24 |
| a21986e | https://github.com/SonarSource/sonar-java/pull/6332/commits/a21986e37ec3c89bb1cc57d8ab08797f87ff0e24 |
| https://github.com/apps/github-actions |
| github-actions | https://github.com/apps/github-actions |
| Oct 14, 2026 | https://github.com/SonarSource/sonar-java/pull/6332#issuecomment-6163849089 |
| #6345 | https://github.com/SonarSource/sonar-java/pull/6345 |
| Please reload this page | https://github.com/SonarSource/sonar-java/pull/6332 |
| https://github.com/apps/github-actions |
| github-actions | https://github.com/apps/github-actions |
|
Oct 14, 2026
| https://github.com/SonarSource/sonar-java/pull/6332#ref-pullrequest-5844249694 |
|
Update ruling results for PR #6332
#6345
| https://github.com/SonarSource/sonar-java/pull/6345 |
|
| https://github.com/apps/github-actions |
| Update ruling results for PR | https://github.com/SonarSource/sonar-java/pull/6332/commits/6a682bc20e220972b730aab00d3aca060780968e |
| #6332 | https://github.com/SonarSource/sonar-java/pull/6332 |
| ( | https://github.com/SonarSource/sonar-java/pull/6332/commits/6a682bc20e220972b730aab00d3aca060780968e |
| #6345 | https://github.com/SonarSource/sonar-java/pull/6345 |
| ) | https://github.com/SonarSource/sonar-java/pull/6332/commits/6a682bc20e220972b730aab00d3aca060780968e |
| 6a682bc | https://github.com/SonarSource/sonar-java/pull/6332/commits/6a682bc20e220972b730aab00d3aca060780968e |
| https://github.com/romainbrenguier |
| romainbrenguier | https://github.com/romainbrenguier |
| October 14, 2026 13:31 | https://github.com/SonarSource/sonar-java/pull/6332#event-33230347622 |
| https://github.com/apps/gitar-bot |
| gitar-bot | https://github.com/apps/gitar-bot |
| Oct 14, 2026 | https://github.com/SonarSource/sonar-java/pull/6332#issuecomment-6169735730 |
| Please reload this page | https://github.com/SonarSource/sonar-java/pull/6332 |
| SonarSource/sonarlint-intellij | https://github.com/SonarSource/sonarlint-intellij |
| SonarSource/sonarlint-vscode | https://github.com/SonarSource/sonarlint-vscode |
| SonarSource/sonarlint-eclipse | https://github.com/SonarSource/sonarlint-eclipse |
| SonarSource/sonar-java-symbolic-execution | https://github.com/SonarSource/sonar-java-symbolic-execution |
| SonarSource/sonar-lits | https://github.com/SonarSource/sonar-lits |
| Set up | https://docs.gitar.ai/features/code-review/auto-approve |
| Gitar | https://gitar.ai |
| Please reload this page | https://github.com/SonarSource/sonar-java/pull/6332 |
| https://github.com/apps/sonarqube-next |
| sonarqube-next | https://github.com/apps/sonarqube-next |
| Oct 14, 2026 | https://github.com/SonarSource/sonar-java/pull/6332#issuecomment-6169754774 |
| https://next.sonarqube.com/sonarqube/dashboard?id=org.sonarsource.java%3Ajava&pullRequest=6332 |
| https://next.sonarqube.com/sonarqube/project/issues?id=org.sonarsource.java%3Ajava&pullRequest=6332&resolved=false |
| 0 New issues | https://next.sonarqube.com/sonarqube/project/issues?id=org.sonarsource.java%3Ajava&pullRequest=6332&resolved=false |
| https://next.sonarqube.com/sonarqube/project/issues?id=org.sonarsource.java%3Ajava&fixedInPullRequest=6332 |
| 0 Fixed issues | https://next.sonarqube.com/sonarqube/project/issues?id=org.sonarsource.java%3Ajava&fixedInPullRequest=6332 |
| https://next.sonarqube.com/sonarqube/project/issues?id=org.sonarsource.java%3Ajava&pullRequest=6332&issueStatuses=ACCEPTED |
| 0 Accepted issues | https://next.sonarqube.com/sonarqube/project/issues?id=org.sonarsource.java%3Ajava&pullRequest=6332&issueStatuses=ACCEPTED |
| https://next.sonarqube.com/sonarqube/security_hotspots?id=org.sonarsource.java%3Ajava&pullRequest=6332 |
| 0 Security Hotspots | https://next.sonarqube.com/sonarqube/security_hotspots?id=org.sonarsource.java%3Ajava&pullRequest=6332 |
| https://next.sonarqube.com/sonarqube/dependency-risks?id=org.sonarsource.java%3Ajava&pullRequest=6332&riskStatuses=OPEN%2CCONFIRM |
| 0 Dependency risks | https://next.sonarqube.com/sonarqube/dependency-risks?id=org.sonarsource.java%3Ajava&pullRequest=6332&riskStatuses=OPEN%2CCONFIRM |
| https://next.sonarqube.com/sonarqube/component_measures?id=org.sonarsource.java%3Ajava&pullRequest=6332&metric=new_coverage&view=list |
| 100.0% Coverage on New Code | https://next.sonarqube.com/sonarqube/component_measures?id=org.sonarsource.java%3Ajava&pullRequest=6332&metric=new_coverage&view=list |
| https://next.sonarqube.com/sonarqube/component_measures?id=org.sonarsource.java%3Ajava&pullRequest=6332&metric=new_duplicated_lines_density&view=list |
| 0.0% Duplication on New Code | https://next.sonarqube.com/sonarqube/component_measures?id=org.sonarsource.java%3Ajava&pullRequest=6332&metric=new_duplicated_lines_density&view=list |
| See analysis details on SonarQube | https://next.sonarqube.com/sonarqube/dashboard?id=org.sonarsource.java%3Ajava&pullRequest=6332 |
| Please reload this page | https://github.com/SonarSource/sonar-java/pull/6332 |
|
SONARJAVA-7188 SONARJAVA-4606 Improvements for the rule S7158
#6359
| https://github.com/SonarSource/sonar-java/pull/6359 |
|
SONARJAVA-7155: Implemented rule S9433 Literals should not be converted to strings using empty string concatenation
#6364
| https://github.com/SonarSource/sonar-java/pull/6364 |
| https://github.com/asya-vorobeva |
| asya-vorobeva | https://github.com/asya-vorobeva |
| Oct 16, 2026 | https://github.com/SonarSource/sonar-java/pull/6332#issuecomment-6213582672 |
| #6359 | https://github.com/SonarSource/sonar-java/pull/6359 |
| Please reload this page | https://github.com/SonarSource/sonar-java/pull/6332 |
| https://github.com/asya-vorobeva |
| asya-vorobeva | https://github.com/asya-vorobeva |
| Oct 16, 2026 | https://github.com/SonarSource/sonar-java/pull/6332#event-33435886071 |
| https://github.com/asya-vorobeva |
| asya-vorobeva | https://github.com/asya-vorobeva |
| October 16, 2026 10:34 | https://github.com/SonarSource/sonar-java/pull/6332#event-33435900529 |
| https://github.co/hiddenchars |
| https://github.com/SonarSource/sonar-java/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FSonarSource%2Fsonar-java%2Fpull%2F6332 |
|
| https://github.com/apps/gitar-bot |
|
gitar-bot[bot]
| https://github.com/apps/gitar-bot |
|
| https://github.com/SonarSource/sonar-java/pull/6332/files/6089bfaf45a9df093a563e49010658df8c34718d |
| Please reload this page | https://github.com/SonarSource/sonar-java/pull/6332 |
| Please reload this page | https://github.com/SonarSource/sonar-java/pull/6332 |
|
| https://github.com/romainbrenguier |
|
| https://github.com/asya-vorobeva |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |