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

review: feat: Add newline at file end and refactor type calculation #5747

Merged
merged 11 commits into from
Apr 17, 2024

Conversation

MartinWitt
Copy link
Collaborator

A newline has been added to the end of each file by convention. Additionally, the calculate method in DefaultJavaPrettyPrinter has been refactored. The type calculation logic is now cleaner and easier to understand, as unnecessary conditional checks have been removed.

A newline has been added to the end of each file by convention. Additionally, the calculate method in DefaultJavaPrettyPrinter has been refactored. The type calculation logic is now cleaner and easier to understand, as unnecessary conditional checks have been removed.
@SirYwell
Copy link
Collaborator

SirYwell commented Apr 7, 2024

This covers a part of #5744 and is a general improvement imo.

@MartinWitt MartinWitt changed the title wip: feat: Add newline at file end and refactor type calculation review: feat: Add newline at file end and refactor type calculation Apr 15, 2024
@SirYwell SirYwell requested a review from I-Al-Istannen April 17, 2024 12:52
@I-Al-Istannen I-Al-Istannen merged commit 9e8bb35 into master Apr 17, 2024
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants