fix(core): Correct MutableStructuredConfigEntry#apply return type to self
This commit is contained in:
@@ -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
|
||||
|
||||
+1
-1
@@ -6,7 +6,7 @@ import java.util.function.Consumer;
|
||||
|
||||
public interface MutableStructuredConfigEntry<T> extends AddressableStructuredConfigEntry<T> {
|
||||
@Override
|
||||
default AddressableStructuredConfigEntry<T> apply(Consumer<ConfigEntry<T>> function) {
|
||||
default MutableStructuredConfigEntry<T> apply(Consumer<ConfigEntry<T>> function) {
|
||||
AddressableStructuredConfigEntry.super.apply(function);
|
||||
return this;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user