From 6c6b2de68a207a2dfb467c751ac2c76f3aa3718f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cle=CC=81ment=20Doumouro?= Date: Wed, 20 Nov 2024 16:20:18 +0100 Subject: [PATCH] chore: update `CliApp` --- datashare-app/src/main/java/org/icij/datashare/CliApp.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/datashare-app/src/main/java/org/icij/datashare/CliApp.java b/datashare-app/src/main/java/org/icij/datashare/CliApp.java index f5e4bb2cc..e311e206a 100644 --- a/datashare-app/src/main/java/org/icij/datashare/CliApp.java +++ b/datashare-app/src/main/java/org/icij/datashare/CliApp.java @@ -15,6 +15,7 @@ import org.icij.datashare.tasks.IndexTask; import org.icij.datashare.tasks.ScanIndexTask; import org.icij.datashare.tasks.ScanTask; +import org.icij.datashare.tasks.DatashareTaskFactory; import org.icij.datashare.text.indexing.Indexer; import org.slf4j.Logger; import org.slf4j.LoggerFactory; @@ -128,8 +129,7 @@ private static void runTaskWorker(CommonMode mode, Properties properties) throws } if (pipeline.has(Stage.CREATENLPBATCHESFROMIDX)) { - taskManager.startTask( - new Task<>(CreateNlpBatchesFromIndex.class.getName(), nullUser(), propertiesToMap(properties))); + taskManager.startTask(new Task<>(CreateNlpBatchesFromIndex.class.getName(), nullUser(), propertiesToMap(properties))); } if (pipeline.has(Stage.BATCHNLP)) {