Skip to content

Conversation

@MBoegers
Copy link
Contributor

What's changed?

Fix Google Format Style for left braces where it differs from IntelliJ

What's your motivation?

Make Google Formatter compliant to https://google.github.io/styleguide/javaguide.html#s4.6.2-horizontal-whitespace.
It misses the array initializer spaces

Anything in particular you'd like reviewers to focus on?

Anyone you would like to review specifically?

Have you considered any alternatives or workarounds?

Any additional context

Checklist

  • I've added unit tests to cover both positive and negative cases
  • I've read and applied the recipe conventions and best practices
  • I've used the IntelliJ IDEA auto-formatter on affected files

@MBoegers MBoegers self-assigned this Oct 27, 2025
@github-project-automation github-project-automation bot moved this to In Progress in OpenRewrite Oct 27, 2025
@github-project-automation github-project-automation bot moved this from In Progress to Ready to Review in OpenRewrite Oct 27, 2025
@MBoegers MBoegers merged commit 4f6dc25 into main Oct 28, 2025
2 checks passed
@MBoegers MBoegers deleted the boeg/google-style-whitespaces branch October 28, 2025 10:11
@github-project-automation github-project-automation bot moved this from Ready to Review to Done in OpenRewrite Oct 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants