mirror of
https://github.com/DanilaFe/abacus
synced 2026-02-04 21:15:19 +00:00
Remove unused elvis.
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user