From bcb8130f78e4e0437cac9676d7281130b6bb3588 Mon Sep 17 00:00:00 2001 From: rahimiankeanu Date: Sun, 12 Dec 2021 16:49:03 +0100 Subject: [PATCH] Renaming task type --- .../ch/unisg/executorBase/executor/domain/ExecutorType.java | 2 +- .../ch/unisg/executorcomputation/executor/domain/Executor.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/executor-base/src/main/java/ch/unisg/executorBase/executor/domain/ExecutorType.java b/executor-base/src/main/java/ch/unisg/executorBase/executor/domain/ExecutorType.java index ca9533a..33ae142 100644 --- a/executor-base/src/main/java/ch/unisg/executorBase/executor/domain/ExecutorType.java +++ b/executor-base/src/main/java/ch/unisg/executorBase/executor/domain/ExecutorType.java @@ -1,7 +1,7 @@ package ch.unisg.executorbase.executor.domain; public enum ExecutorType { - ADDITION, ROBOT; + COMPUTATION, ROBOT; /** * Checks if the give executor type exists. diff --git a/executor-computation/src/main/java/ch/unisg/executorcomputation/executor/domain/Executor.java b/executor-computation/src/main/java/ch/unisg/executorcomputation/executor/domain/Executor.java index 582b57f..2da59db 100644 --- a/executor-computation/src/main/java/ch/unisg/executorcomputation/executor/domain/Executor.java +++ b/executor-computation/src/main/java/ch/unisg/executorcomputation/executor/domain/Executor.java @@ -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; -- 2.45.1