Renaming task type

This commit is contained in:
rahimiankeanu 2021-12-12 16:49:03 +01:00
parent 32bf461026
commit bcb8130f78
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;