From 6f61adfd923a24e2c5b19f98903c2245e86920d1 Mon Sep 17 00:00:00 2001 From: marcellszabo-spedinfo Date: Tue, 5 Dec 2023 20:56:57 +0100 Subject: [PATCH] Project Initialisation - all steps --- .../hu/user/lis/workflow/project/CopyCalculationXlsx.java | 8 -------- 1 file changed, 8 deletions(-) diff --git a/lis-workflow/src/main/java/hu/user/lis/workflow/project/CopyCalculationXlsx.java b/lis-workflow/src/main/java/hu/user/lis/workflow/project/CopyCalculationXlsx.java index 8423eba..18a001b 100644 --- a/lis-workflow/src/main/java/hu/user/lis/workflow/project/CopyCalculationXlsx.java +++ b/lis-workflow/src/main/java/hu/user/lis/workflow/project/CopyCalculationXlsx.java @@ -1,11 +1,9 @@ package hu.user.lis.workflow.project; -import hu.user.lis.db.repository.ProjectRepository; import hu.user.lis.workflow.properties.WorkflowProperties; import lombok.extern.log4j.Log4j2; import org.camunda.bpm.engine.ProcessEngineException; import org.camunda.bpm.engine.delegate.DelegateExecution; -import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Component; import javax.persistence.EntityNotFoundException; @@ -20,12 +18,6 @@ import java.util.Locale; public class CopyCalculationXlsx extends CreateProjectStructure { private final static String fileSeparator = File.separator; // or FileSystems.getDefault().getSeparator(); File.separatorChar; - @Autowired - private ProjectRepository projectRepository; - - @Autowired - private WorkflowProperties workflowProperties; - @Override public void execute(DelegateExecution delegateExecution) throws Exception { Long projectId = (Long) delegateExecution.getVariable("projectId"); -- 2.54.0