fixing TODOs
This commit is contained in:
parent
3ebf290534
commit
3d54bd5aa3
|
@ -49,7 +49,6 @@ public class OperatorMultiply extends Operator {
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public Object getValue(ExpressionState state) throws EvaluationException {
|
public Object getValue(ExpressionState state) throws EvaluationException {
|
||||||
// TODO could have an 'int only' arithmetic mode for super fast expression evaluation
|
|
||||||
Object operandOne = getLeftOperand().getValue(state);
|
Object operandOne = getLeftOperand().getValue(state);
|
||||||
Object operandTwo = getRightOperand().getValue(state);
|
Object operandTwo = getRightOperand().getValue(state);
|
||||||
if (operandOne instanceof Number && operandTwo instanceof Number) {
|
if (operandOne instanceof Number && operandTwo instanceof Number) {
|
||||||
|
|
Loading…
Reference in New Issue