| 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:4b35e073-07a1-3b2c-63f4-66828908c99d |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D284:195CE:2C1F75:39CDBE:6AFE4CFA |
| html-safe-nonce | 327806ab10ee718744a396a4a7457f10f67aeb61d869bbf0a86b468d04879f03 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMjg0OjE5NUNFOjJDMUY3NTozOUNEQkU6NkFGRTRDRkEiLCJ2aXNpdG9yX2lkIjoiNDQ5MzIzMjc5MzU4ODc0NzUxNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 076b5e861f5272e7389c552e1bee225734a26f64946d32c98b494d3e0c8b6975 |
| hovercard-subject-tag | pull_request:4869372127 |
| 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/6359/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/cfad7d505e82f57f5645730a806cc1d0d2ad0d33251f7355f9f4d33b089a04a3/SonarSource/sonar-java/pull/6359 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/cfad7d505e82f57f5645730a806cc1d0d2ad0d33251f7355f9f4d33b089a04a3/SonarSource/sonar-java/pull/6359 |
| og:image:alt | Detect zero literals written in any base
Suggest "isBlank()" for "strip().length()" and "trim().length()" comparisons |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | asya-vorobeva |
| hostname | github.com |
| expected-hostname | github.com |
| None | 894d3c8b932306ed8425e8dcbe0c1089667e487c5fe7b8a05d17e7b685207429 |
| 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 | 44570ad53e12be09be8000af683c29166c4007cb |
| 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/6359#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FSonarSource%2Fsonar-java%2Fpull%2F6359 |
| 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%2F6359 |
| 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/6359 |
| Reload | https://github.com/SonarSource/sonar-java/pull/6359 |
| Reload | https://github.com/SonarSource/sonar-java/pull/6359 |
| 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 |
| asya-vorobeva | https://github.com/asya-vorobeva |
| master | https://github.com/SonarSource/sonar-java/tree/master |
| asya/improve-s7158 | https://github.com/SonarSource/sonar-java/tree/asya/improve-s7158 |
| Conversation | https://github.com/SonarSource/sonar-java/pull/6359 |
| Commits5 (5) | https://github.com/SonarSource/sonar-java/pull/6359/commits |
| Checks | https://github.com/SonarSource/sonar-java/pull/6359/checks |
| Files changed | https://github.com/SonarSource/sonar-java/pull/6359/files |
| SONARJAVA-7188 SONARJAVA-4606 Improvements for the rule S7158 | https://github.com/SonarSource/sonar-java/pull/6359#top |
| asya-vorobeva | https://github.com/asya-vorobeva |
| master | https://github.com/SonarSource/sonar-java/tree/master |
| asya/improve-s7158 | https://github.com/SonarSource/sonar-java/tree/asya/improve-s7158 |
|
| https://github.com/asya-vorobeva |
| asya-vorobeva | https://github.com/asya-vorobeva |
| Oct 15, 2026 | https://github.com/SonarSource/sonar-java/pull/6359#issue-5861508703 |
| Please reload this page | https://github.com/SonarSource/sonar-java/pull/6359 |
| Please reload this page | https://github.com/SonarSource/sonar-java/pull/6359 |
| asya-vorobeva | https://github.com/asya-vorobeva |
| October 14, 2026 15:31 | https://github.com/SonarSource/sonar-java/pull/6359#commits-pushed-4373bf4 |
|
| https://github.com/asya-vorobeva |
|
| https://github.com/claude |
| SONARJAVA-7188 | https://sonarsource.atlassian.net/browse/SONARJAVA-7188 |
| S7158: Detect zero literals written in any base | https://github.com/SonarSource/sonar-java/pull/6359/commits/4373bf4a0bb7d2409e478f26c0b27aef62b214c6 |
| 4373bf4 | https://github.com/SonarSource/sonar-java/pull/6359/commits/4373bf4a0bb7d2409e478f26c0b27aef62b214c6 |
|
| https://github.com/asya-vorobeva |
|
| https://github.com/claude |
| SONARJAVA-4606 | https://sonarsource.atlassian.net/browse/SONARJAVA-4606 |
| S7158: Suggest "isBlank()" for "trim().length()" compa… | https://github.com/SonarSource/sonar-java/pull/6359/commits/b049767d1d3063a5b440b9569d52452bda385581 |
| b049767 | https://github.com/SonarSource/sonar-java/pull/6359/commits/b049767d1d3063a5b440b9569d52452bda385581 |
| https://github.com/apps/hashicorp-vault-sonar-prod |
| hashicorp-vault-sonar-prod | https://github.com/apps/hashicorp-vault-sonar-prod |
| Oct 15, 2026 | https://github.com/SonarSource/sonar-java/pull/6359#issuecomment-6186243148 |
| Please reload this page | https://github.com/SonarSource/sonar-java/pull/6359 |
| SONARJAVA-7188 | https://sonarsource.atlassian.net/browse/SONARJAVA-7188 |
| SONARJAVA-4606 | https://sonarsource.atlassian.net/browse/SONARJAVA-4606 |
| Please reload this page | https://github.com/SonarSource/sonar-java/pull/6359 |
| https://github.com/apps/gitar-bot |
| gitar-bot | https://github.com/apps/gitar-bot |
|
Oct 15, 2026
| https://github.com/SonarSource/sonar-java/pull/6359#pullrequestreview-5529249327 |
|
View reviewed changes
| https://github.com/SonarSource/sonar-java/pull/6359/files/b049767d1d3063a5b440b9569d52452bda385581 |
| java-checks/src/main/java/org/sonar/java/checks/StringIsEmptyCheck.java | https://github.com/SonarSource/sonar-java/pull/6359/files/b049767d1d3063a5b440b9569d52452bda385581#diff-6dd0828f049f06067539e00a865898f13bbecc610618d4d74dd84a0b39e4fbed |
| Please reload this page | https://github.com/SonarSource/sonar-java/pull/6359 |
| asya-vorobeva | https://github.com/asya-vorobeva |
| October 15, 2026 11:24 | https://github.com/SonarSource/sonar-java/pull/6359#commits-pushed-4dae062 |
|
| https://github.com/asya-vorobeva |
|
| https://github.com/claude |
| SONARJAVA-4606 | https://sonarsource.atlassian.net/browse/SONARJAVA-4606 |
| S7158: Also suggest "isBlank()" for "strip().length()"… | https://github.com/SonarSource/sonar-java/pull/6359/commits/4dae062b6ef52d604b4187cb5dd63a84505b2dfa |
| 4dae062 | https://github.com/SonarSource/sonar-java/pull/6359/commits/4dae062b6ef52d604b4187cb5dd63a84505b2dfa |
|
| https://github.com/asya-vorobeva |
| Fix for QG | https://github.com/SonarSource/sonar-java/pull/6359/commits/e7435b576df7d680114ed7561abc82999515bdff |
| e7435b5 | https://github.com/SonarSource/sonar-java/pull/6359/commits/e7435b576df7d680114ed7561abc82999515bdff |
| https://github.com/lijun-chen-sonarsource |
| lijun-chen-sonarsource | https://github.com/lijun-chen-sonarsource |
|
Oct 16, 2026
| https://github.com/SonarSource/sonar-java/pull/6359#pullrequestreview-5546110894 |
|
View reviewed changes
| https://github.com/SonarSource/sonar-java/pull/6359/files/e7435b576df7d680114ed7561abc82999515bdff |
| lijun-chen-sonarsource | https://github.com/lijun-chen-sonarsource |
| https://github.com/SonarSource/sonar-java/pull/6359#pullrequestreview-5546110894 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/SonarSource/sonar-java/pull/6359 |
| java-checks/src/test/java/org/sonar/java/checks/StringIsEmptyCheckTest.java | https://github.com/SonarSource/sonar-java/pull/6359/files/e7435b576df7d680114ed7561abc82999515bdff#diff-a452c7f09340a4a85fbb49620e761d504470fa0a0e7cb7455936c04e0fbf2acb |
| Please reload this page | https://github.com/SonarSource/sonar-java/pull/6359 |
|
| https://github.com/asya-vorobeva |
|
| https://github.com/claude |
| SONARJAVA-4606 | https://sonarsource.atlassian.net/browse/SONARJAVA-4606 |
| S7158: Cover the pre-Java-11 behaviour with a test | https://github.com/SonarSource/sonar-java/pull/6359/commits/90954046a12e1eb3d732f64600a6631456151193 |
| 9095404 | https://github.com/SonarSource/sonar-java/pull/6359/commits/90954046a12e1eb3d732f64600a6631456151193 |
| https://github.com/asya-vorobeva |
| asya-vorobeva | https://github.com/asya-vorobeva |
| October 16, 2026 10:32 | https://github.com/SonarSource/sonar-java/pull/6359#event-33435763787 |
| https://github.com/asya-vorobeva |
| asya-vorobeva | https://github.com/asya-vorobeva |
|
Oct 16, 2026
| https://github.com/SonarSource/sonar-java/pull/6359#ref-pullrequest-5816261666 |
|
SONARJAVA-7157: Implemented rule S9432 Strings should not be trimmed or stripped just to check if they are blank
#6332
| https://github.com/SonarSource/sonar-java/pull/6332 |
| https://github.com/apps/sonarqube-next |
| sonarqube-next | https://github.com/apps/sonarqube-next |
| Oct 16, 2026 | https://github.com/SonarSource/sonar-java/pull/6359#issuecomment-6213709150 |
| https://next.sonarqube.com/sonarqube/dashboard?id=org.sonarsource.java%3Ajava&pullRequest=6359 |
| https://next.sonarqube.com/sonarqube/project/issues?id=org.sonarsource.java%3Ajava&pullRequest=6359&resolved=false |
| 0 New issues | https://next.sonarqube.com/sonarqube/project/issues?id=org.sonarsource.java%3Ajava&pullRequest=6359&resolved=false |
| https://next.sonarqube.com/sonarqube/project/issues?id=org.sonarsource.java%3Ajava&fixedInPullRequest=6359 |
| 0 Fixed issues | https://next.sonarqube.com/sonarqube/project/issues?id=org.sonarsource.java%3Ajava&fixedInPullRequest=6359 |
| https://next.sonarqube.com/sonarqube/project/issues?id=org.sonarsource.java%3Ajava&pullRequest=6359&issueStatuses=ACCEPTED |
| 0 Accepted issues | https://next.sonarqube.com/sonarqube/project/issues?id=org.sonarsource.java%3Ajava&pullRequest=6359&issueStatuses=ACCEPTED |
| https://next.sonarqube.com/sonarqube/security_hotspots?id=org.sonarsource.java%3Ajava&pullRequest=6359 |
| 0 Security Hotspots | https://next.sonarqube.com/sonarqube/security_hotspots?id=org.sonarsource.java%3Ajava&pullRequest=6359 |
| https://next.sonarqube.com/sonarqube/dependency-risks?id=org.sonarsource.java%3Ajava&pullRequest=6359&riskStatuses=OPEN%2CCONFIRM |
| 0 Dependency risks | https://next.sonarqube.com/sonarqube/dependency-risks?id=org.sonarsource.java%3Ajava&pullRequest=6359&riskStatuses=OPEN%2CCONFIRM |
| https://next.sonarqube.com/sonarqube/component_measures?id=org.sonarsource.java%3Ajava&pullRequest=6359&metric=new_coverage&view=list |
| 98.2% Coverage on New Code | https://next.sonarqube.com/sonarqube/component_measures?id=org.sonarsource.java%3Ajava&pullRequest=6359&metric=new_coverage&view=list |
| https://next.sonarqube.com/sonarqube/component_measures?id=org.sonarsource.java%3Ajava&pullRequest=6359&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=6359&metric=new_duplicated_lines_density&view=list |
| See analysis details on SonarQube | https://next.sonarqube.com/sonarqube/dashboard?id=org.sonarsource.java%3Ajava&pullRequest=6359 |
| Please reload this page | https://github.com/SonarSource/sonar-java/pull/6359 |
| https://github.com/apps/gitar-bot |
| gitar-bot | https://github.com/apps/gitar-bot |
| Oct 16, 2026 | https://github.com/SonarSource/sonar-java/pull/6359#issuecomment-6213716323 |
| Please reload this page | https://github.com/SonarSource/sonar-java/pull/6359 |
| #6332 | https://github.com/SonarSource/sonar-java/pull/6332 |
| SONARJAVA-7157: Implemented rule S9432 Strings should not be trimmed or stripped just to check if they are blank #6332 | https://github.com/SonarSource/sonar-java/pull/6332 |
| SONARJAVA-7157: Implemented rule S9432 Strings should not be trimmed or stripped just to check if they are blank #6332 | https://github.com/SonarSource/sonar-java/pull/6332 |
| #6332 | https://github.com/SonarSource/sonar-java/pull/6332 |
| SonarSource/sonarlint-vscode | https://github.com/SonarSource/sonarlint-vscode |
| SonarSource/sonarlint-language-server | https://github.com/SonarSource/sonarlint-language-server |
| SonarSource/sonarlint-intellij | https://github.com/SonarSource/sonarlint-intellij |
| PR #6332: 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 |
| 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/6359 |
| https://github.com/asya-vorobeva |
| asya-vorobeva | https://github.com/asya-vorobeva |
| 47dfacd | https://github.com/SonarSource/sonar-java/commit/47dfacd07a521b9a3762065c4201f384705f44dd |
| Oct 16, 2026 | https://github.com/SonarSource/sonar-java/pull/6359#event-33437119320 |
| Please reload this page | https://github.com/SonarSource/sonar-java/pull/6359 |
| https://github.com/asya-vorobeva |
| asya-vorobeva | https://github.com/asya-vorobeva |
| October 16, 2026 10:50 | https://github.com/SonarSource/sonar-java/pull/6359#event-33437122342 |
| 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%2F6359 |
|
| https://github.com/apps/gitar-bot |
|
gitar-bot[bot]
| https://github.com/apps/gitar-bot |
|
| https://github.com/SonarSource/sonar-java/pull/6359/files/4dae062b6ef52d604b4187cb5dd63a84505b2dfa |
|
| https://github.com/lijun-chen-sonarsource |
|
lijun-chen-sonarsource
| https://github.com/lijun-chen-sonarsource |
|
| https://github.com/SonarSource/sonar-java/pull/6359/files/e7435b576df7d680114ed7561abc82999515bdff |
| Please reload this page | https://github.com/SonarSource/sonar-java/pull/6359 |
| Please reload this page | https://github.com/SonarSource/sonar-java/pull/6359 |
|
| https://github.com/asya-vorobeva |
|
| https://github.com/lijun-chen-sonarsource |
|
| 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 |