From 8dcb2976d6f57697c1fe3f48378c764692b40b55 Mon Sep 17 00:00:00 2001 From: soimugeo Date: Wed, 30 Oct 2024 10:42:31 +0200 Subject: [PATCH] refactored AddNamedHierarchyCommandHandler --- .../hierarchy/AddNamedHierarchyCommandHandler.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/main/java/edu/stanford/protege/webprotege/hierarchy/AddNamedHierarchyCommandHandler.java b/src/main/java/edu/stanford/protege/webprotege/hierarchy/AddNamedHierarchyCommandHandler.java index 062f8b203..838021ac4 100644 --- a/src/main/java/edu/stanford/protege/webprotege/hierarchy/AddNamedHierarchyCommandHandler.java +++ b/src/main/java/edu/stanford/protege/webprotege/hierarchy/AddNamedHierarchyCommandHandler.java @@ -8,7 +8,7 @@ import reactor.core.publisher.Mono; @WebProtegeHandler -public class AddNamedHierarchyCommandHandler implements CommandHandler { +public class AddNamedHierarchyCommandHandler implements CommandHandler { private final ActionExecutor actionExecutor; @@ -19,16 +19,16 @@ public AddNamedHierarchyCommandHandler(ActionExecutor actionExecutor) { @NotNull @Override public String getChannelName() { - return AddNamedHierarchyAction.CHANNEL; + return SetNamedHierarchiesAction.CHANNEL; } @Override - public Class getRequestClass() { - return AddNamedHierarchyAction.class; + public Class getRequestClass() { + return SetNamedHierarchiesAction.class; } @Override - public Mono handleRequest(AddNamedHierarchyAction request, ExecutionContext executionContext) { + public Mono handleRequest(SetNamedHierarchiesAction request, ExecutionContext executionContext) { return actionExecutor.executeRequest(request, executionContext); } }