Project Initialisation - all steps
authormarcellszabo-spedinfo <marcell.szabo@gmail.com>
Tue, 5 Dec 2023 19:56:57 +0000 (20:56 +0100)
committermarcellszabo-spedinfo <marcell.szabo@gmail.com>
Tue, 5 Dec 2023 19:56:57 +0000 (20:56 +0100)
lis-workflow/src/main/java/hu/user/lis/workflow/project/CopyCalculationXlsx.java

index 8423ebaae8235c5d23d1eac6c8c78fbfa9983c65..18a001b67233844f388adf52a8936483b464fe99 100644 (file)
@@ -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");