mirror of
https://github.com/lightbend/config.git
synced 2025-03-22 23:30:27 +08:00
formatting
This commit is contained in:
parent
1ab4def03d
commit
2566973fdd
@ -418,8 +418,7 @@ final class SimpleConfigObject extends AbstractConfigObject implements Serializa
|
|||||||
for (ConfigConditional cond: this.conditionals) {
|
for (ConfigConditional cond: this.conditionals) {
|
||||||
SimpleConfigObject body = cond.resolve(context, sourceWithParent);
|
SimpleConfigObject body = cond.resolve(context, sourceWithParent);
|
||||||
AbstractConfigObject resolvedBody = body.resolveSubstitutions(context, source).value;
|
AbstractConfigObject resolvedBody = body.resolveSubstitutions(context, source).value;
|
||||||
// if (resolvedBody != SimpleConfigObject.empty())
|
value = value.mergedWithObject(resolvedBody);
|
||||||
value = value.mergedWithObject(resolvedBody);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return ResolveResult.make(modifier.context, value).asObjectResult();
|
return ResolveResult.make(modifier.context, value).asObjectResult();
|
||||||
|
Loading…
Reference in New Issue
Block a user