From 0612a4fa4421c896c760e832c444ddad1d896729 Mon Sep 17 00:00:00 2001 From: Arnaud Mengus <44212923+isontheline@users.noreply.github.com> Date: Mon, 27 May 2024 21:33:19 +0200 Subject: [PATCH] Fix checkstyle fail --- backend/src/main/java/ai/dragon/config/AsyncConfig.java | 8 ++++---- backend/src/main/java/ai/dragon/entity/SiloEntity.java | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/backend/src/main/java/ai/dragon/config/AsyncConfig.java b/backend/src/main/java/ai/dragon/config/AsyncConfig.java index 62fef53c..fab79d5a 100644 --- a/backend/src/main/java/ai/dragon/config/AsyncConfig.java +++ b/backend/src/main/java/ai/dragon/config/AsyncConfig.java @@ -12,9 +12,9 @@ public class AsyncConfig { @Bean public Executor threadPoolTaskExecutor() { - ThreadPoolTaskExecutor threadPoolTaskExecutor = new ThreadPoolTaskExecutor(); - threadPoolTaskExecutor.setMaxPoolSize(10); - - return threadPoolTaskExecutor; + ThreadPoolTaskExecutor threadPoolTaskExecutor = new ThreadPoolTaskExecutor(); + threadPoolTaskExecutor.setMaxPoolSize(10); + + return threadPoolTaskExecutor; } } diff --git a/backend/src/main/java/ai/dragon/entity/SiloEntity.java b/backend/src/main/java/ai/dragon/entity/SiloEntity.java index 665be3f1..fe83d71a 100644 --- a/backend/src/main/java/ai/dragon/entity/SiloEntity.java +++ b/backend/src/main/java/ai/dragon/entity/SiloEntity.java @@ -27,11 +27,11 @@ public class SiloEntity implements IAbstractEntity { private String name; @NotNull - @Schema(description = "Java Class to be used for the Vector Store", example = "dev.langchain4j.store.embedding.inmemory.InMemoryEmbeddingStore") + @Schema(description = "Java Class to be used for the Vector Store", example = "InMemoryEmbeddingStore") private String vectorStoreClass; @NotNull - @Schema(description = "Java Class to be used for the Embedding Model", example = "dev.langchain4j.model.embedding.bge.small.en.v15.BgeSmallEnV15QuantizedEmbeddingModel") + @Schema(description = "Java Class to be used for the Embedding Model", example = "BgeSmallEnV15QuantizedEmbeddingModel") private String embeddingModelClass; public SiloEntity() {