Skip to content

Commit

Permalink
Cleanup.
Browse files Browse the repository at this point in the history
  • Loading branch information
barchetta committed May 13, 2024
1 parent 4993661 commit 6f2d4d1
Showing 1 changed file with 0 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,6 @@ class MpConfigImpl implements Config {
this.converters.putIfAbsent(String.class, value -> value);
this.configProfile = profile;

dumpConfigSources(this.sources);

this.valueResolving = getOptionalValue("mp.config.property.expressions.enabled", Boolean.class)
.or(() -> getOptionalValue("helidon.config.value-resolving.enabled", Boolean.class))
.orElse(true);
Expand All @@ -108,13 +106,6 @@ class MpConfigImpl implements Config {
});
}

private void dumpConfigSources(List<ConfigSource> sources) {
System.out.println("CCCC ConfigSources");
for (ConfigSource source : sources) {
System.out.println(" " + source.getOrdinal() + " " + source.getName());
}
}

@Override
public ConfigValue getConfigValue(String key) {

Expand All @@ -128,8 +119,6 @@ public ConfigValue getConfigValue(String key) {
ConfigValue profileValue = findConfigValue("%" + configProfile + "." + key)
.orElseGet(() -> new ConfigValueImpl(key, null, null, null, 0));

System.out.println("CCCCC " + "key=" + key + " value=" + value);
System.out.println("CCCCC " + "key=" + key + " profileValue=" + profileValue);
return value.getSourceOrdinal() > profileValue.getSourceOrdinal() ? value : profileValue;
}

Expand Down

0 comments on commit 6f2d4d1

Please sign in to comment.