Skip to content
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

Avoid trailing blanks in SingleLineComment #3589

Merged
merged 1 commit into from
Oct 1, 2023

Conversation

Bananeweizen
Copy link
Contributor

Fixes #3588.

What's changed?

No more trailing blanks being added by SingleLineComment

Checklist

  • I've added unit tests to cover both positive and negative cases

Copy link
Contributor

@timtebeek timtebeek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot! Should help minimize unintended changes.

@timtebeek timtebeek merged commit e900928 into openrewrite:main Oct 1, 2023
@timtebeek timtebeek added the bug Something isn't working label Oct 1, 2023
@Bananeweizen Bananeweizen deleted the trailing_blank branch October 1, 2023 16:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

org.openrewrite.java.format.SingleLineComments adds trailing blank to empty comments
2 participants