diff --git a/tweed5-weaver-pojo/src/main/java/de/siphalor/tweed5/weaver/pojo/impl/entry/StaticPojoCompoundConfigEntry.java b/tweed5-weaver-pojo/src/main/java/de/siphalor/tweed5/weaver/pojo/impl/entry/StaticPojoCompoundConfigEntry.java index fb17d1e..19d4884 100644 --- a/tweed5-weaver-pojo/src/main/java/de/siphalor/tweed5/weaver/pojo/impl/entry/StaticPojoCompoundConfigEntry.java +++ b/tweed5-weaver-pojo/src/main/java/de/siphalor/tweed5/weaver/pojo/impl/entry/StaticPojoCompoundConfigEntry.java @@ -5,7 +5,6 @@ import de.siphalor.tweed5.core.api.container.ConfigContainer; import de.siphalor.tweed5.core.api.entry.BaseConfigEntry; import de.siphalor.tweed5.core.api.entry.ConfigEntry; import de.siphalor.tweed5.core.api.entry.ConfigEntryValueVisitor; -import de.siphalor.tweed5.core.api.entry.ConfigEntryVisitor; import de.siphalor.tweed5.weaver.pojo.api.entry.WeavableCompoundConfigEntry; import org.jspecify.annotations.Nullable; @@ -36,11 +35,6 @@ public class StaticPojoCompoundConfigEntry extends BaseConfigEntry impleme } } - public void registerSubEntry(SubEntry subEntry) { - subEntries.put(subEntry.name(), subEntry); - subConfigEntries.put(subEntry.name(), subEntry.configEntry()); - } - @Override public Map> subEntries() { return Collections.unmodifiableMap(subConfigEntries); @@ -84,19 +78,6 @@ public class StaticPojoCompoundConfigEntry extends BaseConfigEntry impleme } } - @Override - public void visitInOrder(ConfigEntryVisitor visitor) { - if (visitor.enterStructuredEntry(this)) { - subConfigEntries.forEach((key, entry) -> { - if (visitor.enterStructuredSubEntry(key)) { - entry.visitInOrder(visitor); - visitor.leaveStructuredSubEntry(key); - } - }); - visitor.leaveStructuredEntry(this); - } - } - @Override public void visitInOrder(ConfigEntryValueVisitor visitor, @Nullable T value) { if (visitor.enterStructuredEntry(this, value)) {