From 72e598dcad28acd2dee951d4a72508a192f7de9c Mon Sep 17 00:00:00 2001 From: soimugeo Date: Tue, 29 Oct 2024 19:40:54 +0200 Subject: [PATCH] removed unused AddNamedHierarchyAction and response --- .../hierarchy/AddNamedHierarchyAction.java | 21 ------------------- .../hierarchy/AddNamedHierarchyResponse.java | 9 -------- 2 files changed, 30 deletions(-) delete mode 100644 src/main/java/edu/stanford/protege/webprotege/hierarchy/AddNamedHierarchyAction.java delete mode 100644 src/main/java/edu/stanford/protege/webprotege/hierarchy/AddNamedHierarchyResponse.java diff --git a/src/main/java/edu/stanford/protege/webprotege/hierarchy/AddNamedHierarchyAction.java b/src/main/java/edu/stanford/protege/webprotege/hierarchy/AddNamedHierarchyAction.java deleted file mode 100644 index b15130b1d..000000000 --- a/src/main/java/edu/stanford/protege/webprotege/hierarchy/AddNamedHierarchyAction.java +++ /dev/null @@ -1,21 +0,0 @@ -package edu.stanford.protege.webprotege.hierarchy; - -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonTypeName; -import edu.stanford.protege.webprotege.common.LanguageMap; -import edu.stanford.protege.webprotege.common.ProjectId; -import edu.stanford.protege.webprotege.dispatch.ProjectAction; - -@JsonTypeName(AddNamedHierarchyAction.CHANNEL) -public record AddNamedHierarchyAction(@JsonProperty("projectId") ProjectId projectId, - @JsonProperty("label") LanguageMap label, - @JsonProperty("description") LanguageMap description, - @JsonProperty("hierarchyDescriptor") HierarchyDescriptor hierarchyDescriptor) implements ProjectAction { - - public static final String CHANNEL = "webprotege.hierarchies.AddNamedHierarchy"; - - @Override - public String getChannel() { - return CHANNEL; - } -} diff --git a/src/main/java/edu/stanford/protege/webprotege/hierarchy/AddNamedHierarchyResponse.java b/src/main/java/edu/stanford/protege/webprotege/hierarchy/AddNamedHierarchyResponse.java deleted file mode 100644 index 09e8baf67..000000000 --- a/src/main/java/edu/stanford/protege/webprotege/hierarchy/AddNamedHierarchyResponse.java +++ /dev/null @@ -1,9 +0,0 @@ -package edu.stanford.protege.webprotege.hierarchy; - -import edu.stanford.protege.webprotege.common.Response; -import edu.stanford.protege.webprotege.dispatch.Result; - -public record AddNamedHierarchyResponse() implements Result { - - -}