diff --git a/implementation/src/main/java/io/smallrye/config/DefaultValuesConfigSource.java b/implementation/src/main/java/io/smallrye/config/DefaultValuesConfigSource.java index eb36de9e3..4dfd89284 100644 --- a/implementation/src/main/java/io/smallrye/config/DefaultValuesConfigSource.java +++ b/implementation/src/main/java/io/smallrye/config/DefaultValuesConfigSource.java @@ -14,7 +14,11 @@ public final class DefaultValuesConfigSource extends AbstractConfigSource { private final KeyMap wildcards; public DefaultValuesConfigSource(final Map properties) { - super("DefaultValuesConfigSource", Integer.MIN_VALUE); + this(properties, "DefaultValuesConfigSource", Integer.MIN_VALUE); + } + + public DefaultValuesConfigSource(final Map properties, final String name, final int ordinal) { + super(name, ordinal); this.properties = new HashMap<>(); this.wildcards = new KeyMap<>(); addDefaults(properties);