Pre Merge pull request !780 from Tyler Ge/dev

This commit is contained in:
Tyler Ge 2025-10-29 00:49:07 +00:00 committed by Gitee
commit 93a8f0c332
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -67,7 +67,8 @@ public class CompleteTaskDTO implements Serializable {
public Map<String, Object> getVariables() {
if (variables == null) {
return new HashMap<>(16);
variables = new HashMap<>(16);
return variables;
}
variables.entrySet().removeIf(entry -> Objects.isNull(entry.getValue()));
return variables;