small bugfixes

This commit is contained in:
Marcel 2021-12-12 20:40:22 +01:00
parent aaffb0371e
commit 99e60f656c
3 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
package ch.unisg.executorBase.executor.application.service;
package ch.unisg.executorbase.executor.application.service;
import ch.unisg.common.valueobject.ExecutorURI;
import ch.unisg.executorbase.executor.application.port.out.NotifyExecutorPoolPort;

View File

@ -89,6 +89,6 @@ public abstract class ExecutorBase {
* Implementation of the actual execution method of an executor
* @return the execution result
**/
protected abstract String execution(String input) throws ConnectorException, IOException, ConnectorException;
protected abstract String execution(String input);
}

View File

@ -27,7 +27,7 @@ public class TaskAvailableController {
if (ExecutorType.contains(taskType.toUpperCase())) {
TaskAvailableCommand command = new TaskAvailableCommand(
ExecutorType.valueOf(taskType.toUpperCase()));
CompletableFuture.runAsync(() -> taskAvailableUseCase.newTaskAvailable(command);
CompletableFuture.runAsync(() -> taskAvailableUseCase.newTaskAvailable(command));
}
// Add the content type as a response header