You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by ke...@apache.org on 2022/09/11 11:12:12 UTC

[dolphinscheduler] branch dev updated: Add default constructor (#11858)

This is an automated email from the ASF dual-hosted git repository.

kezhenxu94 pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git


The following commit(s) were added to refs/heads/dev by this push:
     new db46e4786a Add default constructor (#11858)
db46e4786a is described below

commit db46e4786aa0c5f5f16fac4e977a0570c8702fe1
Author: ouyangyewei <ou...@foxmail.com>
AuthorDate: Sun Sep 11 19:12:03 2022 +0800

    Add default constructor (#11858)
---
 .../main/java/org/apache/dolphinscheduler/api/dto/TaskCountDto.java  | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/dto/TaskCountDto.java b/dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/dto/TaskCountDto.java
index 6a7d78fc4a..66a42857a4 100644
--- a/dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/dto/TaskCountDto.java
+++ b/dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/dto/TaskCountDto.java
@@ -17,7 +17,9 @@
 
 package org.apache.dolphinscheduler.api.dto;
 
+import lombok.AllArgsConstructor;
 import lombok.Data;
+import lombok.NoArgsConstructor;
 import org.apache.dolphinscheduler.dao.entity.ExecuteStatusCount;
 import org.apache.dolphinscheduler.plugin.task.api.enums.TaskExecutionStatus;
 
@@ -27,8 +29,9 @@ import java.util.Map;
 import java.util.stream.Collectors;
 
 @Data
+@NoArgsConstructor
+@AllArgsConstructor
 public class TaskCountDto {
-
     /**
      * total count
      */