From a54a1ce6d7f5fc819b77cc2030cbfc9204dd1fbf Mon Sep 17 00:00:00 2001 From: Scala Steward Date: Sun, 23 Oct 2022 18:09:19 +0000 Subject: [PATCH 1/3] Update sbt-java-formatter to 0.8.0 --- project/plugins.sbt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/plugins.sbt b/project/plugins.sbt index 130826b..a79313d 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -3,7 +3,7 @@ addSbtPlugin("com.dwijnand" % "sbt-dynver" % "4.1.1") addSbtPlugin("com.eed3si9n" % "sbt-buildinfo" % "0.11.0") addSbtPlugin("com.github.sbt" % "sbt-unidoc" % "0.5.0") // discipline -addSbtPlugin("com.lightbend.sbt" % "sbt-java-formatter" % "0.7.0") +addSbtPlugin("com.lightbend.sbt" % "sbt-java-formatter" % "0.8.0") addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.4.6") addSbtPlugin("de.heikoseeberger" % "sbt-header" % "5.6.0") From 2457be3eca34095cfbeebfccda7f7af0753ed200 Mon Sep 17 00:00:00 2001 From: Scala Steward Date: Sun, 23 Oct 2022 18:10:43 +0000 Subject: [PATCH 2/3] Reformat with sbt-java-formatter 0.8.0 Executed command: sbt javafmtAll --- .../cloudflow/flink/javadsl/FlinkProcessor.java | 10 +++++----- .../flink/javadsl/FlinkStreamletTest.java | 14 +++++--------- 2 files changed, 10 insertions(+), 14 deletions(-) diff --git a/cloudflow-flink-tests/src/test/java/cloudflow/flink/javadsl/FlinkProcessor.java b/cloudflow-flink-tests/src/test/java/cloudflow/flink/javadsl/FlinkProcessor.java index 6f67ea5..76929fc 100644 --- a/cloudflow-flink-tests/src/test/java/cloudflow/flink/javadsl/FlinkProcessor.java +++ b/cloudflow-flink-tests/src/test/java/cloudflow/flink/javadsl/FlinkProcessor.java @@ -16,13 +16,13 @@ package cloudflow.flink.javadsl; -import org.apache.flink.streaming.api.datastream.DataStream; -import org.apache.flink.streaming.api.datastream.DataStreamSink; -import org.apache.flink.api.common.typeinfo.TypeHint; +import cloudflow.flink.*; +import cloudflow.flink.avro.*; import cloudflow.streamlets.StreamletShape; import cloudflow.streamlets.avro.*; -import cloudflow.flink.avro.*; -import cloudflow.flink.*; +import org.apache.flink.api.common.typeinfo.TypeHint; +import org.apache.flink.streaming.api.datastream.DataStream; +import org.apache.flink.streaming.api.datastream.DataStreamSink; public class FlinkProcessor extends FlinkStreamlet { diff --git a/cloudflow-flink-tests/src/test/java/cloudflow/flink/javadsl/FlinkStreamletTest.java b/cloudflow-flink-tests/src/test/java/cloudflow/flink/javadsl/FlinkStreamletTest.java index bddd196..4d50249 100644 --- a/cloudflow-flink-tests/src/test/java/cloudflow/flink/javadsl/FlinkStreamletTest.java +++ b/cloudflow-flink-tests/src/test/java/cloudflow/flink/javadsl/FlinkStreamletTest.java @@ -16,22 +16,18 @@ package cloudflow.flink.javadsl; -import org.junit.*; import static org.junit.Assert.*; -import junit.framework.TestCase; - -import org.scalatestplus.junit.JUnitSuite; +import cloudflow.flink.*; +import cloudflow.flink.avro.*; +import cloudflow.flink.testkit.*; import java.util.*; import java.util.stream.Collectors; import java.util.stream.IntStream; -import cloudflow.flink.testkit.*; - import org.apache.flink.api.common.typeinfo.TypeInformation; import org.apache.flink.streaming.api.environment.StreamExecutionEnvironment; - -import cloudflow.flink.*; -import cloudflow.flink.avro.*; +import org.junit.*; +import org.scalatestplus.junit.JUnitSuite; public class FlinkStreamletTest extends JUnitSuite { From 5a330b804ab40c31da74ecd8cd6659b9bd625c40 Mon Sep 17 00:00:00 2001 From: Scala Steward Date: Sun, 23 Oct 2022 18:10:43 +0000 Subject: [PATCH 3/3] Add 'Reformat with sbt-java-formatter 0.8.0' to .git-blame-ignore-revs --- .git-blame-ignore-revs | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 .git-blame-ignore-revs diff --git a/.git-blame-ignore-revs b/.git-blame-ignore-revs new file mode 100644 index 0000000..3c5501a --- /dev/null +++ b/.git-blame-ignore-revs @@ -0,0 +1,2 @@ +# Scala Steward: Reformat with sbt-java-formatter 0.8.0 +2457be3eca34095cfbeebfccda7f7af0753ed200