mirror of
https://github.com/lightbend/config.git
synced 2025-01-26 04:00:09 +08:00
remove unused variant of ResolveContext.resolve static method
It was broken (ignored its restrictToChild parameter) but since it was also unused, just nuked it.
This commit is contained in:
parent
8f8b576800
commit
2c106ad940
@ -140,7 +140,7 @@ final class ResolveContext {
|
||||
}
|
||||
|
||||
static AbstractConfigValue resolve(AbstractConfigValue value, AbstractConfigObject root,
|
||||
ConfigResolveOptions options, Path restrictToChildOrNull) {
|
||||
ConfigResolveOptions options) {
|
||||
ResolveContext context = new ResolveContext(root, options, null /* restrictToChild */);
|
||||
|
||||
try {
|
||||
@ -151,9 +151,4 @@ final class ResolveContext {
|
||||
"NotPossibleToResolve was thrown from an outermost resolve", e);
|
||||
}
|
||||
}
|
||||
|
||||
static AbstractConfigValue resolve(AbstractConfigValue value, AbstractConfigObject root,
|
||||
ConfigResolveOptions options) {
|
||||
return resolve(value, root, options, null);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user