删除不必要的代码

This commit is contained in:
mxd 2019-12-13 17:07:51 +08:00
parent 4486d92d2b
commit 2b13b1b3fd

View File

@ -3,7 +3,6 @@ package org.spiderflow.core;
import org.apache.commons.lang3.StringUtils;
import org.apache.commons.lang3.math.NumberUtils;
import org.spiderflow.ExpressionEngine;
import org.spiderflow.ExpressionHolder;
import org.spiderflow.concurrent.SpiderFlowThreadPoolExecutor;
import org.spiderflow.concurrent.SpiderFlowThreadPoolExecutor.SubThreadPoolExecutor;
import org.spiderflow.context.RunnableNode;
@ -110,7 +109,6 @@ public class Spider {
if (listeners != null) {
listeners.forEach(listener -> listener.afterEnd(context));
}
ExpressionHolder.remove();
}
}
@ -191,7 +189,6 @@ public class Spider {
context.setRunning(false);
return;
}
ExpressionHolder.setVariables(nVariables);
//执行节点具体逻辑
executor.execute(node, context, nVariables);
nVariables.put("ex", null);