Skip to content

Commit 835458b

Browse files
committed
Changed: ClassesYamlStorage#setSectionValue private -> protected
Signed-off-by: DevDrizzy <drizzyfarooqi@gmail.com>
1 parent dd710c4 commit 835458b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/xyz/refinedev/api/storage/yaml/impl/ClassesYamlStorage.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
*/
3737
public abstract class ClassesYamlStorage extends YamlStorage {
3838

39-
private static final Logger LOGGER = LogManager.getLogger(ClassesYamlStorage.class);
39+
protected static final Logger LOGGER = LogManager.getLogger(ClassesYamlStorage.class);
4040

4141
/**
4242
* Initiation method for a config file
@@ -195,7 +195,7 @@ public void save(String path, Class<?> clazz, Object instance) throws Exception
195195
* @param yml The ConfigurationSection containing key-value pairs.
196196
* @param oldPath The existing path for nested sections, used to build the full key path.
197197
*/
198-
private void setSectionValue(ConfigurationSection yml, String oldPath) {
198+
protected void setSectionValue(ConfigurationSection yml, String oldPath) {
199199
for (String key : yml.getKeys(false)) {
200200
Object value = yml.get(key);
201201
String newPath = oldPath + (oldPath.isEmpty() ? "" : ".") + key;

0 commit comments

Comments
 (0)