1
0
mirror of https://github.com/DanilaFe/abacus synced 2024-12-22 07:20:09 -08:00

Remove unused elvis.

This commit is contained in:
Danila Fedorin 2017-09-21 23:17:45 -07:00
parent fbdf2c7e52
commit 76fcd8ec1c

View File

@ -18,7 +18,6 @@ class NumberReducer(val abacus: Abacus, context: EvaluationContext) : Reducer<Nu
return when(treeNode){ return when(treeNode){
is NumberNode -> { is NumberNode -> {
context.inheritedNumberImplementation.instanceForString(treeNode.number) context.inheritedNumberImplementation.instanceForString(treeNode.number)
?: throw EvaluationException("no number implementation selected.")
} }
is VariableNode -> { is VariableNode -> {
val variable = context.getVariable(treeNode.variable) val variable = context.getVariable(treeNode.variable)