Skip to content

Commit

Permalink
Totally reworked classes separation to respect packaging conventions.
Browse files Browse the repository at this point in the history
Reworked FileConfiguration#addParsers method.
Renamed `it.fulminazzo.yamlparser.configurations` package to `it.fulminazzo.yamlparser.configuration`.
Made FileConfiguration and ConfigurationSection final.
  • Loading branch information
Fulminazzo committed Jan 26, 2024
1 parent c2fd2f6 commit ee503ae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* Represents a YAML Section.
*/
@Getter
public class ConfigurationSection extends SimpleConfiguration {
public final class ConfigurationSection extends SimpleConfiguration {
private final IConfiguration parent;

public ConfigurationSection(IConfiguration parent, String name) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
/**
* Represents a YAML File configuration.
*/
public class FileConfiguration extends SimpleConfiguration {
public final class FileConfiguration extends SimpleConfiguration {
private final static LinkedList<YAMLParser<?>> parsers = new LinkedList<>();
private final @Nullable File file;

Expand Down

0 comments on commit ee503ae

Please sign in to comment.