Commit 8e698e24 authored by Nico Mack's avatar Nico Mack

Fixed an issue in set method, failing when non-numerical variables were

specified.
parent 77d6fbd6
......@@ -27,8 +27,7 @@ public class JavascriptExecutor extends Executor {
@Override
public void set(Variable variable) {
Double numericValue = Double.valueOf(variable.getValue().toString());
engine.put(variable.getName(), numericValue);
engine.put(variable.getName(), variable.getValue());
}
@Override
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment