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:
Havoc Pennington 2013-06-25 10:29:37 -04:00
parent 8f8b576800
commit 2c106ad940

View File

@ -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);
}
}