From 2dc5a732eb0e1a1f04cd315f10da245ea615e3db Mon Sep 17 00:00:00 2001 From: lamber-ken Date: Mon, 2 Dec 2019 23:20:58 +0800 Subject: [PATCH] [checkstyle] optimize java code checkstyle for EmptyStatement rule (#1373) --- .../org/apache/dolphinscheduler/api/dto/gantt/GanttDto.java | 2 +- style/checkstyle.xml | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/dto/gantt/GanttDto.java b/dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/dto/gantt/GanttDto.java index ad2c49fe7f..c32454a784 100644 --- a/dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/dto/gantt/GanttDto.java +++ b/dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/dto/gantt/GanttDto.java @@ -55,7 +55,7 @@ public class GanttDto { this(); this.height = height; this.tasks = tasks; - this.taskNames = taskNames;; + this.taskNames = taskNames; } public GanttDto(int height, List tasks, List taskNames, Map taskStatus) { this.height = height; diff --git a/style/checkstyle.xml b/style/checkstyle.xml index 0e23606035..4201ce8121 100644 --- a/style/checkstyle.xml +++ b/style/checkstyle.xml @@ -229,7 +229,9 @@ - + + +