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

Code cleanup #637

Open
wants to merge 54 commits into
base: master
Choose a base branch
from
Open

Conversation

svaningelgem
Copy link
Contributor

Thanks a lot @booksaw for your fixes!

I added a (lot more) issues my IDE noticed. Each commit is 1 particular issue.
Mostly harmless.

Everything compiles fine 😀

@svaningelgem svaningelgem changed the title Optimize imports Code cleanup Jul 23, 2024
Copy link
Owner

@booksaw booksaw left a comment

Choose a reason for hiding this comment

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

Thanks for taking a look, most problems I have noticed so far are related to indentation.

Just as a word of warning, I am very hesitant to PRs that have these many minor changes in as in the past it has caused problems that took several months of bug reports to clean up where unintentionally behaviour has been changed. (Mainly because BetterTeams has no automated testing and with a diff this large, I can't reasonably manually test every change)

@booksaw
Copy link
Owner

booksaw commented Jul 30, 2024

By the way, thanks for separating changes into different commits, it makes it a lot easier to review :)

…ze-imports

# Conflicts:
#	src/main/java/com/booksaw/betterTeams/team/storage/storageManager/SeparatedYamlStorageManager.java
@svaningelgem
Copy link
Contributor Author

Just as a word of warning, I am very hesitant to PRs that have these many minor changes.
I completely understand. Problem is once I started with the code validation in my IDE, I just kept adding stuff.
Luckily the commit-by-commit approach seems to improve that a bit for you.

Normally in this PR there are no real changes. Just cleanup of your excellent codebase based on IntelliJ's comments about it.

…ze-imports

# Conflicts:
#	src/main/java/com/booksaw/betterTeams/database/api/Database.java
#	src/main/java/com/booksaw/betterTeams/events/MCTeamManagement.java
@svaningelgem svaningelgem requested a review from booksaw August 7, 2024 06:05
… calls.

+ adding source encoding (on win I got a warning about resources being implicitly utf8, and that I should define it explicitly)
@svaningelgem
Copy link
Contributor Author

Hi @booksaw , any chance you got lately to continue your review of this PR?

Thanks!

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.

2 participants