| 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:962e8269-803b-de78-610d-0d7d3b46bc11 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | C42C:2F1A1A:602C8:80CD4:6AFBAC3E |
| html-safe-nonce | 378bc47caaf31572a6f3375eaea6406a20703a4a5f0b1aa1df6962534710351e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNDJDOjJGMUExQTo2MDJDODo4MENENDo2QUZCQUMzRSIsInZpc2l0b3JfaWQiOiI2MDE2NjkyMjY3OTY2NTA4MDk0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 77928f0072292ea4c610f811c5bfb41031e783203f50c197fbd3eb45b1804f92 |
| hovercard-subject-tag | pull_request:4216686782 |
| 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/google/google-java-format/1437/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/bc4a84c70817c1ab6e868a181b19ada41744779db16c79789d417cc0fc5707b3/google/google-java-format/pull/1437 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/bc4a84c70817c1ab6e868a181b19ada41744779db16c79789d417cc0fc5707b3/google/google-java-format/pull/1437 |
| og:image:alt | Summary
Fixes #1436.
When unused imports between a package declaration and a class Javadoc/declaration are removed, the blank line that preceded the import block and the blank line that followed it... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | arimu1 |
| hostname | github.com |
| expected-hostname | github.com |
| None | e25fbd830d3e6ad0e8935c105cf4fdc70c593dffcd27bb45b790ae4fece5ea55 |
| turbo-cache-control | no-cache |
| go-import | github.com/google/google-java-format git https://github.com/google/google-java-format.git |
| octolytics-dimension-user_id | 1342004 |
| octolytics-dimension-user_login | google |
| octolytics-dimension-repository_id | 35448780 |
| octolytics-dimension-repository_nwo | google/google-java-format |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 35448780 |
| octolytics-dimension-repository_network_root_nwo | google/google-java-format |
| 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 | 08c8f17f9d27054a108b8b6254e405de0151f660 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/google/google-java-format/pull/1437#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgoogle%2Fgoogle-java-format%2Fpull%2F1437 |
| 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%2Fgoogle%2Fgoogle-java-format%2Fpull%2F1437 |
| 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=google%2Fgoogle-java-format |
| Reload | https://github.com/google/google-java-format/pull/1437 |
| Reload | https://github.com/google/google-java-format/pull/1437 |
| Reload | https://github.com/google/google-java-format/pull/1437 |
| google | https://github.com/google |
| google-java-format | https://github.com/google/google-java-format |
| Code | https://github.com/google/google-java-format |
| Issues84 (84) | https://github.com/google/google-java-format/issues |
| Pull requests35 (35) | https://github.com/google/google-java-format/pulls |
| Actions | https://github.com/google/google-java-format/actions |
| Projects | https://github.com/google/google-java-format/projects |
| Wiki | https://github.com/google/google-java-format/wiki |
| Security and quality | https://github.com/google/google-java-format/security |
| Insights | https://github.com/google/google-java-format/pulse |
| https://github.com/google/google-java-format |
| arimu1 | https://github.com/arimu1 |
| google:master | https://github.com/google/google-java-format/tree/master |
| arimu1:fix/1436-blank-line-after-import-removal | https://github.com/arimu1/google-java-format/tree/fix/1436-blank-line-after-import-removal |
| Conversation | https://github.com/google/google-java-format/pull/1437 |
| Commits1 (1) | https://github.com/google/google-java-format/pull/1437/commits |
| Checks | https://github.com/google/google-java-format/pull/1437/checks |
| Files changed | https://github.com/google/google-java-format/pull/1437/files |
| fix: avoid extra blank line after unused import removal (#1436) | https://github.com/google/google-java-format/pull/1437#top |
| arimu1 | https://github.com/arimu1 |
| google:master | https://github.com/google/google-java-format/tree/master |
| arimu1:fix/1436-blank-line-after-import-removal | https://github.com/arimu1/google-java-format/tree/fix/1436-blank-line-after-import-removal |
|
| https://github.com/arimu1 |
| arimu1 | https://github.com/arimu1 |
| Aug 5, 2026 | https://github.com/google/google-java-format/pull/1437#issue-5076173255 |
| #1436 | https://github.com/google/google-java-format/issues/1436 |
| unused import removal leaves extra blank line between package declaration and class Javadoc / declaration #1436 | https://github.com/google/google-java-format/issues/1436 |
| Please reload this page | https://github.com/google/google-java-format/pull/1437 |
|
| https://github.com/arimu1 |
| fix: avoid extra blank line after unused import removal ( | https://github.com/google/google-java-format/pull/1437/commits/1b2e65784edbddad213ded063fd4edad445ca17b |
| google#1436 | https://github.com/google/google-java-format/issues/1436 |
| ) | https://github.com/google/google-java-format/pull/1437/commits/1b2e65784edbddad213ded063fd4edad445ca17b |
| 1b2e657 | https://github.com/google/google-java-format/pull/1437/commits/1b2e65784edbddad213ded063fd4edad445ca17b |
|
Removing an unused import leaves two blank lines, and only a second run removes one
openjavaformat/open-java-format#37
| https://github.com/openjavaformat/open-java-format/issues/37 |
|
Stop an unused import from leaving two blank lines behind
openjavaformat/open-java-format#43
| https://github.com/openjavaformat/open-java-format/pull/43 |
| https://github.com/caioradtke |
| caioradtke | https://github.com/caioradtke |
|
Nov 12, 2026
| https://github.com/google/google-java-format/pull/1437#ref-pullrequest-6349496636 |
|
Review do PR upstream #1437
caioradtke/google-java-format#6
| https://github.com/caioradtke/google-java-format/pull/6 |
| https://github.co/hiddenchars |
| https://github.com/google/google-java-format/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%2Fgoogle%2Fgoogle-java-format%2Fpull%2F1437 |
| Please reload this page | https://github.com/google/google-java-format/pull/1437 |
|
unused import removal leaves extra blank line between package declaration and class Javadoc / declaration
| https://github.com/google/google-java-format/issues/1436 |
| Please reload this page | https://github.com/google/google-java-format/pull/1437 |
|
| https://github.com/arimu1 |
|
| 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 |