Skip to content

Commit 385f61d

Browse files
authored
Make simple node builder variables protected (#7)
* Make simple node builder variables protected This is to allow other devs to extend the builder and add functionality * Bump version to 1.0.1
1 parent 0461a48 commit 385f61d

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<modelVersion>4.0.0</modelVersion>
33
<groupId>io.github.townyadvanced.commentedconfiguration</groupId>
44
<artifactId>CommentedConfiguration</artifactId>
5-
<version>1.0.0</version>
5+
<version>1.0.1</version>
66
<description>YAML Configuration for Bukkit with support for comments.</description>
77

88
<licenses>

src/main/java/io/github/townyadvanced/commentedconfiguration/setting/SimpleNode.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,10 +83,10 @@ public SimpleNode(@NotNull String path, @NotNull Class<T> type, @Nullable T defa
8383
* @param <T> The type of the node value.
8484
*/
8585
public static class Builder<T> {
86-
private final String path;
87-
private final Class<T> type;
88-
private T defaultValue;
89-
private final List<String> comments;
86+
protected final String path;
87+
protected final Class<T> type;
88+
protected T defaultValue;
89+
protected final List<String> comments;
9090

9191
/**
9292
* Creates a new builder with the given path and type.

0 commit comments

Comments
 (0)