补全EL表达式组装部分javadoc内容

This commit is contained in:
gezuao
2023-10-13 23:03:08 +08:00
parent 1b43ebb7b6
commit 1b632981a1

View File

@@ -4,6 +4,7 @@ import cn.hutool.core.util.ObjectUtil;
import com.yomahub.liteflow.util.JsonUtil;
import java.util.Map;
import java.util.Objects;
/**
* 条件表达式
@@ -260,7 +261,7 @@ public class IfELWrapper extends ELWrapper {
processWrapperNewLine(sb, depth);
sb.append(this.getTrueWrapper().toEL(sonDepth, paramContext)).append(",");
processWrapperNewLine(sb, depth);
sb.append(this.getFalseWrapper().toEL(sonDepth, paramContext));
sb.append(Objects.requireNonNull(this.getFalseWrapper()).toEL(sonDepth, paramContext));
processWrapperNewLine(sb, depth);
processWrapperTabs(sb, depth);
sb.append(")");