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)) {