Skip to content

Commit

Permalink
Add constructor to DefaultValuesConfigSource for name and ordinal
Browse files Browse the repository at this point in the history
  • Loading branch information
radcortez committed Sep 25, 2023
1 parent 7b2ebf3 commit 2389e46
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,11 @@ public final class DefaultValuesConfigSource extends AbstractConfigSource {
private final KeyMap<String> wildcards;

public DefaultValuesConfigSource(final Map<String, String> properties) {
super("DefaultValuesConfigSource", Integer.MIN_VALUE);
this(properties, "DefaultValuesConfigSource", Integer.MIN_VALUE);
}

public DefaultValuesConfigSource(final Map<String, String> properties, final String name, final int ordinal) {
super(name, ordinal);
this.properties = new HashMap<>();
this.wildcards = new KeyMap<>();
addDefaults(properties);
Expand Down

0 comments on commit 2389e46

Please sign in to comment.