-
-
Notifications
You must be signed in to change notification settings - Fork 20
GH-973 Rename and restructure placeholders configuration classes #1225
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code Review
This pull request successfully refactors the placeholder configuration by moving it from a separate file into the main config.yml. This is a good move for consolidation and simplifies management. The introduction of the PlaceholdersSettings interface is a great choice for decoupling the configuration from its usage. The overall implementation is solid. I have one minor suggestion to improve code clarity and maintainability.
eternalcore-core/src/main/java/com/eternalcode/core/placeholder/PlaceholdersConfig.java
Show resolved
Hide resolved
eternalcore-core/src/main/java/com/eternalcode/core/placeholder/PlaceholdersSettings.java
Show resolved
Hide resolved
eternalcore-core/src/main/java/com/eternalcode/core/placeholder/PlaceholdersSetup.java
Show resolved
Hide resolved
eternalcore-core/src/main/java/com/eternalcode/core/placeholder/PlaceholdersConfig.java
Show resolved
Hide resolved
|
|
||
| import java.util.Map; | ||
|
|
||
| public interface PlaceholdersSettings { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think an interface isn’t needed here. This is just a placeholders config, and at this point, I’m overengineering it.
eternalcore-core/src/main/java/com/eternalcode/core/placeholder/PlaceholdersConfig.java
Show resolved
Hide resolved
|
Follow other reviews - nothing to add (Commander keeps tagging me) |
Rollczi
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Spoko
# Conflicts: # eternalcore-core/src/main/java/com/eternalcode/core/configuration/implementation/PluginConfiguration.java
No description provided.