Merge pull request #101 from SCS-ASSE-FS21-Group1/Renam-task-type

Renaming task type
This commit is contained in:
2021-12-14 20:56:39 +01:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
package ch.unisg.executorbase.executor.domain;
public enum ExecutorType {
ADDITION, ROBOT;
COMPUTATION, ROBOT;
/**
* Checks if the give executor type exists.

View File

@@ -7,7 +7,7 @@ import ch.unisg.executorbase.executor.domain.ExecutorType;
public class Executor extends ExecutorBase {
private static final Executor executor = new Executor(ExecutorType.ADDITION);
private static final Executor executor = new Executor(ExecutorType.COMPUTATION);
public static Executor getExecutor() {
return executor;