Browse Source

[Fix][API] Condition task null pointer exception (#4056)

pull/3/MERGE
hailin0 4 years ago committed by GitHub
parent
commit
95374c30b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/task/conditions/ConditionsParameters.java

3
dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/task/conditions/ConditionsParameters.java

@ -21,6 +21,7 @@ import org.apache.dolphinscheduler.common.model.DependentTaskModel;
import org.apache.dolphinscheduler.common.process.ResourceInfo;
import org.apache.dolphinscheduler.common.task.AbstractParameters;
import java.util.ArrayList;
import java.util.List;
public class ConditionsParameters extends AbstractParameters {
@ -43,7 +44,7 @@ public class ConditionsParameters extends AbstractParameters {
@Override
public List<ResourceInfo> getResourceFilesList() {
return null;
return new ArrayList<>();
}
public List<DependentTaskModel> getDependTaskList() {

Loading…
Cancel
Save