删除不必要的代码

This commit is contained in:
mxd 2019-12-13 17:08:04 +08:00
parent 2b13b1b3fd
commit 9a1e181d39

View File

@ -1,22 +0,0 @@
package org.spiderflow;
import java.util.Map;
public class ExpressionHolder {
private static ThreadLocal<Map<String,Object>> variables = new ThreadLocal<>();
public static void setVariables(Map<String,Object> variable){
variables.set(variable);
}
public static Object get(String key){
Map<String, Object> variable = variables.get();
return variable != null ? variable.get(key) : null;
}
public static void remove(){
variables.remove();
}
}