Skip to content

Reverting autoFormat in JavaTemplateJavaExtension that was causing unnecessary extra indentation for annotations. #5731

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

steve-aom-elliott
Copy link
Contributor

Removed autoFormat when processing annotations as it was causing broader indentation issues downstream

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

…g unnecessary extra indentation for annotations.
@steve-aom-elliott steve-aom-elliott self-assigned this Jul 8, 2025
@steve-aom-elliott steve-aom-elliott added bug Something isn't working java labels Jul 8, 2025
@github-project-automation github-project-automation bot moved this to In Progress in OpenRewrite Jul 8, 2025
@github-project-automation github-project-automation bot moved this from In Progress to Ready to Review in OpenRewrite Jul 8, 2025
@steve-aom-elliott steve-aom-elliott merged commit 611b0c9 into main Jul 8, 2025
2 checks passed
@steve-aom-elliott steve-aom-elliott deleted the java-template-java-extension-revert-autoformat branch July 8, 2025 18:52
@github-project-automation github-project-automation bot moved this from Ready to Review to Done in OpenRewrite Jul 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working java
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants