diff --git a/.github/workflows/build_automq.yml b/.github/workflows/build_automq.yml index d33df8a6a6..e3ccaf5f68 100644 --- a/.github/workflows/build_automq.yml +++ b/.github/workflows/build_automq.yml @@ -49,7 +49,7 @@ jobs: - name: Setup Gradle uses: gradle/gradle-build-action@v2.9.0 - name: Checkstyle - run: ./gradlew --build-cache rat checkstyleMain checkstyleTest + run: ./gradlew --build-cache rat checkstyleMain checkstyleTest spotlessJavaCheck spotbugs: name: "Spotbugs" runs-on: ${{ matrix.os }} diff --git a/tools/src/main/java/org/apache/kafka/tools/automq/perf/TopicService.java b/tools/src/main/java/org/apache/kafka/tools/automq/perf/TopicService.java index 85f6f2c45c..b644f03a81 100644 --- a/tools/src/main/java/org/apache/kafka/tools/automq/perf/TopicService.java +++ b/tools/src/main/java/org/apache/kafka/tools/automq/perf/TopicService.java @@ -11,7 +11,6 @@ package org.apache.kafka.tools.automq.perf; -import com.google.common.collect.Lists; import org.apache.kafka.clients.admin.Admin; import org.apache.kafka.clients.admin.AdminClientConfig; import org.apache.kafka.clients.admin.CreateTopicsResult; @@ -21,6 +20,8 @@ import org.apache.kafka.common.TopicPartition; import org.apache.kafka.common.errors.TopicExistsException; +import com.google.common.collect.Lists; + import org.slf4j.Logger; import org.slf4j.LoggerFactory;