From f93e93cfd2125f4271899fca41335c24cb6a872c Mon Sep 17 00:00:00 2001 From: Eric Gao Date: Wed, 17 Aug 2022 12:59:08 +0800 Subject: [PATCH] [Feature][Style] Make sure there is one and only one empty line at the end of each java file (#11520) --- .../java/org/apache/dolphinscheduler/alert/AlertConfig.java | 2 +- style/spotless_dolphinscheduler_formatter.xml | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/dolphinscheduler-alert/dolphinscheduler-alert-server/src/main/java/org/apache/dolphinscheduler/alert/AlertConfig.java b/dolphinscheduler-alert/dolphinscheduler-alert-server/src/main/java/org/apache/dolphinscheduler/alert/AlertConfig.java index 2e2eff448f..534fedd358 100644 --- a/dolphinscheduler-alert/dolphinscheduler-alert-server/src/main/java/org/apache/dolphinscheduler/alert/AlertConfig.java +++ b/dolphinscheduler-alert/dolphinscheduler-alert-server/src/main/java/org/apache/dolphinscheduler/alert/AlertConfig.java @@ -23,6 +23,7 @@ import org.springframework.stereotype.Component; @Component @ConfigurationProperties("alert") public final class AlertConfig { + private int port; private int waitTimeout; @@ -42,5 +43,4 @@ public final class AlertConfig { public void setWaitTimeout(final int waitTimeout) { this.waitTimeout = waitTimeout; } - } diff --git a/style/spotless_dolphinscheduler_formatter.xml b/style/spotless_dolphinscheduler_formatter.xml index 0e45f7be39..4327ddc1fa 100644 --- a/style/spotless_dolphinscheduler_formatter.xml +++ b/style/spotless_dolphinscheduler_formatter.xml @@ -18,7 +18,7 @@ * limitations under the License. */ --> - + @@ -47,5 +47,6 @@ +