From c7005b49448b9f455cd50062b20963226b9cc32f Mon Sep 17 00:00:00 2001 From: baoliang Date: Thu, 12 Nov 2020 11:22:40 +0800 Subject: [PATCH] refactor code style --- .../dolphinscheduler/remote/command/DBTaskAckCommand.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/dolphinscheduler-remote/src/main/java/org/apache/dolphinscheduler/remote/command/DBTaskAckCommand.java b/dolphinscheduler-remote/src/main/java/org/apache/dolphinscheduler/remote/command/DBTaskAckCommand.java index ae302841fa..9faa0a7c7e 100644 --- a/dolphinscheduler-remote/src/main/java/org/apache/dolphinscheduler/remote/command/DBTaskAckCommand.java +++ b/dolphinscheduler-remote/src/main/java/org/apache/dolphinscheduler/remote/command/DBTaskAckCommand.java @@ -22,14 +22,14 @@ import org.apache.dolphinscheduler.common.utils.JSONUtils; import java.io.Serializable; /** - * db task ack request command + * db task ack request command */ public class DBTaskAckCommand implements Serializable { private int taskInstanceId; private int status; - public DBTaskAckCommand(int status,int taskInstanceId) { + public DBTaskAckCommand(int status, int taskInstanceId) { this.status = status; this.taskInstanceId = taskInstanceId; } @@ -52,9 +52,10 @@ public class DBTaskAckCommand implements Serializable { /** * package response command + * * @return command */ - public Command convert2Command(){ + public Command convert2Command() { Command command = new Command(); command.setType(CommandType.DB_TASK_ACK); byte[] body = JSONUtils.toJsonByteArray(this);