From 93d0ccb191d59724d6658916cad98720238b3a0e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edd=C3=BA=20Mel=C3=A9ndez?= Date: Fri, 14 Jun 2024 17:35:14 +0200 Subject: [PATCH] Fix checkstyle --- .../dependency/springai/DockerComposeConfiguration.java | 1 + .../SpringAiChromaProjectGenerationConfigurationTests.java | 3 ++- .../SpringAiOllamaProjectGenerationConfigurationTests.java | 3 ++- .../SpringAiQdrantProjectGenerationConfigurationTests.java | 3 ++- .../SpringAiWeaviateProjectGenerationConfigurationTests.java | 3 ++- 5 files changed, 9 insertions(+), 4 deletions(-) diff --git a/start-site/src/main/java/io/spring/start/site/extension/dependency/springai/DockerComposeConfiguration.java b/start-site/src/main/java/io/spring/start/site/extension/dependency/springai/DockerComposeConfiguration.java index 02def93be7c..eb71c8e577a 100644 --- a/start-site/src/main/java/io/spring/start/site/extension/dependency/springai/DockerComposeConfiguration.java +++ b/start-site/src/main/java/io/spring/start/site/extension/dependency/springai/DockerComposeConfiguration.java @@ -21,6 +21,7 @@ import io.spring.initializr.generator.buildsystem.DependencyScope; import io.spring.initializr.generator.condition.ConditionalOnRequestedDependency; import io.spring.initializr.generator.spring.build.BuildCustomizer; + import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; diff --git a/start-site/src/test/java/io/spring/start/site/extension/dependency/springai/SpringAiChromaProjectGenerationConfigurationTests.java b/start-site/src/test/java/io/spring/start/site/extension/dependency/springai/SpringAiChromaProjectGenerationConfigurationTests.java index 2a517a11bc6..c146ed963a1 100644 --- a/start-site/src/test/java/io/spring/start/site/extension/dependency/springai/SpringAiChromaProjectGenerationConfigurationTests.java +++ b/start-site/src/test/java/io/spring/start/site/extension/dependency/springai/SpringAiChromaProjectGenerationConfigurationTests.java @@ -19,6 +19,7 @@ import io.spring.initializr.generator.test.project.ProjectStructure; import io.spring.initializr.web.project.ProjectRequest; import io.spring.start.site.extension.AbstractExtensionTests; + import org.junit.jupiter.api.Test; import org.springframework.core.io.ClassPathResource; @@ -44,4 +45,4 @@ void createsChromaService() { assertThat(composeFile(request)).hasSameContentAs(new ClassPathResource("compose/chroma.yaml")); } -} \ No newline at end of file +} diff --git a/start-site/src/test/java/io/spring/start/site/extension/dependency/springai/SpringAiOllamaProjectGenerationConfigurationTests.java b/start-site/src/test/java/io/spring/start/site/extension/dependency/springai/SpringAiOllamaProjectGenerationConfigurationTests.java index 9a4e8e8a775..e6133f9f30c 100644 --- a/start-site/src/test/java/io/spring/start/site/extension/dependency/springai/SpringAiOllamaProjectGenerationConfigurationTests.java +++ b/start-site/src/test/java/io/spring/start/site/extension/dependency/springai/SpringAiOllamaProjectGenerationConfigurationTests.java @@ -19,6 +19,7 @@ import io.spring.initializr.generator.test.project.ProjectStructure; import io.spring.initializr.web.project.ProjectRequest; import io.spring.start.site.extension.AbstractExtensionTests; + import org.junit.jupiter.api.Test; import org.springframework.core.io.ClassPathResource; @@ -44,4 +45,4 @@ void createsOllamaService() { assertThat(composeFile(request)).hasSameContentAs(new ClassPathResource("compose/ollama.yaml")); } -} \ No newline at end of file +} diff --git a/start-site/src/test/java/io/spring/start/site/extension/dependency/springai/SpringAiQdrantProjectGenerationConfigurationTests.java b/start-site/src/test/java/io/spring/start/site/extension/dependency/springai/SpringAiQdrantProjectGenerationConfigurationTests.java index 5be66cd7f33..32c0454ec97 100644 --- a/start-site/src/test/java/io/spring/start/site/extension/dependency/springai/SpringAiQdrantProjectGenerationConfigurationTests.java +++ b/start-site/src/test/java/io/spring/start/site/extension/dependency/springai/SpringAiQdrantProjectGenerationConfigurationTests.java @@ -19,6 +19,7 @@ import io.spring.initializr.generator.test.project.ProjectStructure; import io.spring.initializr.web.project.ProjectRequest; import io.spring.start.site.extension.AbstractExtensionTests; + import org.junit.jupiter.api.Test; import org.springframework.core.io.ClassPathResource; @@ -44,4 +45,4 @@ void createsQdrantService() { assertThat(composeFile(request)).hasSameContentAs(new ClassPathResource("compose/qdrant.yaml")); } -} \ No newline at end of file +} diff --git a/start-site/src/test/java/io/spring/start/site/extension/dependency/springai/SpringAiWeaviateProjectGenerationConfigurationTests.java b/start-site/src/test/java/io/spring/start/site/extension/dependency/springai/SpringAiWeaviateProjectGenerationConfigurationTests.java index 296304973b4..020073af553 100644 --- a/start-site/src/test/java/io/spring/start/site/extension/dependency/springai/SpringAiWeaviateProjectGenerationConfigurationTests.java +++ b/start-site/src/test/java/io/spring/start/site/extension/dependency/springai/SpringAiWeaviateProjectGenerationConfigurationTests.java @@ -19,6 +19,7 @@ import io.spring.initializr.generator.test.project.ProjectStructure; import io.spring.initializr.web.project.ProjectRequest; import io.spring.start.site.extension.AbstractExtensionTests; + import org.junit.jupiter.api.Test; import org.springframework.core.io.ClassPathResource; @@ -44,4 +45,4 @@ void createsWeaviateService() { assertThat(composeFile(request)).hasSameContentAs(new ClassPathResource("compose/weaviate.yaml")); } -} \ No newline at end of file +}