public final String CMD_DIV = "divide";
@Override
public TaskResult<byte[]> execute(TaskContext taskContext, String command, Map<String, String> params, byte[] data) throws RuntimeException {
float num1 = Float.parseFloat(params.get("num1"));
float num2 = Float.parseFloat(params.get("num2"));
<BUG>if (CMD_ADD.equals(command)) {
return new TaskResult<byte[]>(true, Float.toString(num1+num2));</BUG>
} else if (CMD_SUB.equals(command)) {
return new TaskResult<byte[]>(true, Float.toString(num1+num2));
<BUG>} else if (CMD_MUL.equals(command)) {
return new TaskResult<byte[]>(true, Float.toString(num1+num2));</BUG>
} else if (CMD_DIV.equals(command)) {

public final String CMD_DIV = "divide";
@Override
public TaskResult<byte[]> execute(TaskContext taskContext, String command, Map<String, String> params, byte[] data) throws RuntimeException {
float num1 = Float.parseFloat(params.get("num1"));
float num2 = Float.parseFloat(params.get("num2"));
if (CMD_ADD.equals(command)) {
TaskContextFactory.getTaskContext().executeCommand(CMD_SUB, data, params);
