mirror of
https://github.com/lightbend/config.git
synced 2025-01-28 21:20:07 +08:00
If not allowing unresolved, optimize resolve status computation for List
This commit is contained in:
parent
51d94fc357
commit
94dda5f9cf
@ -125,8 +125,7 @@ final class SimpleConfigList extends AbstractConfigValue implements ConfigList,
|
||||
throws NotPossibleToResolve {
|
||||
return context.resolve(v);
|
||||
}
|
||||
|
||||
}, null /* don't force resolve status -- could be allowing unresolved */);
|
||||
}, context.options().getAllowUnresolved() ? null : ResolveStatus.RESOLVED);
|
||||
} catch (NotPossibleToResolve e) {
|
||||
throw e;
|
||||
} catch (RuntimeException e) {
|
||||
|
Loading…
Reference in New Issue
Block a user