Skip to content

Cleanup at config related classes #64

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
merged 2 commits into from
Dec 17, 2022
Merged

Cleanup at config related classes #64

merged 2 commits into from
Dec 17, 2022

Conversation

AdvancedWipe
Copy link
Contributor

Clean up in ConfigManager and relocated all config related classes to its own package

* replace System.out statements by logger statements
* remove code duplication at line 30
* simplify usage of new String()
* replace Exception in catch statement by the actual exceptions that could be thrown
@what-the-diff
Copy link

what-the-diff bot commented Dec 6, 2022

  • Moved ConfigManager to a new package
  • Renamed the config file from itemswapper.json to itemsaver.json
  • Changed some imports in mixins and other classes that were affected by 1) and 2).

@AdvancedWipe
Copy link
Contributor Author

Well, the AI generated code review is a nice feature. But gave me a shock, that I supposedly renamed the config file to itemsaver.json. Don't know how it gets the idea I did that.

@tr7zw
Copy link
Owner

tr7zw commented Dec 6, 2022

Yea, it's more of a rough estimate of what a pr does.

@tr7zw tr7zw merged commit a432bf4 into tr7zw:1.19 Dec 17, 2022
@AdvancedWipe AdvancedWipe deleted the cleanup branch January 6, 2023 19:23
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