diff --git a/CHANGELOG.md b/CHANGELOG.md index 6283f00..716e9c2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - `weaver-pojo`: Make maps with string keys into their own weavable entry type. - `weaver-pojo-serde-ext`: Such string map entries get serde using the `MutableStructuredConfigEntry` interface. +### Fixed + +- `core`: Fixed return type of `MutableStructuredConfigEntry#apply` to correctly be itself. + ## [0.8.1] - 2026-04-26 ### Fixed diff --git a/tweed5/core/src/main/java/de/siphalor/tweed5/core/api/entry/MutableStructuredConfigEntry.java b/tweed5/core/src/main/java/de/siphalor/tweed5/core/api/entry/MutableStructuredConfigEntry.java index a2d19f7..d6fa52c 100644 --- a/tweed5/core/src/main/java/de/siphalor/tweed5/core/api/entry/MutableStructuredConfigEntry.java +++ b/tweed5/core/src/main/java/de/siphalor/tweed5/core/api/entry/MutableStructuredConfigEntry.java @@ -6,7 +6,7 @@ import java.util.function.Consumer; public interface MutableStructuredConfigEntry extends AddressableStructuredConfigEntry { @Override - default AddressableStructuredConfigEntry apply(Consumer> function) { + default MutableStructuredConfigEntry apply(Consumer> function) { AddressableStructuredConfigEntry.super.apply(function); return this; }