mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
修复MVEL加载错误问题
This commit is contained in:
@@ -18,10 +18,15 @@ public class MvelEngine implements ExpressionEngine {
|
||||
* 构造
|
||||
*/
|
||||
public MvelEngine(){
|
||||
checkEngineExist(null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Object eval(String expression, Map<String, Object> context) {
|
||||
return MVEL.eval(expression, context);
|
||||
}
|
||||
|
||||
private void checkEngineExist(MVEL mvel){
|
||||
// do nothing
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user