MINOR: Remove Deadcode in ExpressionTermSetQuery (#34442)
This commit is contained in:
parent
55eaf7a3ff
commit
511526250b
|
@ -221,8 +221,7 @@ public class ExpressionScriptEngine extends AbstractComponent implements ScriptE
|
|||
throw convertToScriptException("link error", expr.sourceText, variable, e);
|
||||
}
|
||||
}
|
||||
ReplaceableConstDoubleValueSource specialValue = null;
|
||||
return new ExpressionTermSetQueryScript(expr, bindings, specialValue);
|
||||
return new ExpressionTermSetQueryScript(expr, bindings);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -38,13 +38,11 @@ class ExpressionTermSetQueryScript implements TermsSetQueryScript.LeafFactory {
|
|||
final Expression exprScript;
|
||||
final SimpleBindings bindings;
|
||||
final DoubleValuesSource source;
|
||||
final ReplaceableConstDoubleValueSource specialValue; // _value
|
||||
|
||||
ExpressionTermSetQueryScript(Expression e, SimpleBindings b, ReplaceableConstDoubleValueSource v) {
|
||||
ExpressionTermSetQueryScript(Expression e, SimpleBindings b) {
|
||||
exprScript = e;
|
||||
bindings = b;
|
||||
source = exprScript.getDoubleValuesSource(bindings);
|
||||
specialValue = v;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue