From 3989fabb804bc5b201f75ed80694ebcde1d6c2d5 Mon Sep 17 00:00:00 2001 From: Matthew Horridge Date: Thu, 17 Oct 2024 08:18:13 -0700 Subject: [PATCH] Remove sealed interface and downgrade to Java 17 --- pom.xml | 4 ++-- .../protege/webprotege/hierarchy/HierarchyDescriptor.java | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index 1ce0bd9..1023a49 100644 --- a/pom.xml +++ b/pom.xml @@ -12,7 +12,7 @@ edu.stanford.protege webprotege-backend-api - 2.0.0-SNAPSHOT + 2.0.0 UTF-8 @@ -30,7 +30,7 @@ yyyyMMdd 0.11.0 8.5.2 - 21 + 17 2020.0.3 diff --git a/src/main/java/edu/stanford/protege/webprotege/hierarchy/HierarchyDescriptor.java b/src/main/java/edu/stanford/protege/webprotege/hierarchy/HierarchyDescriptor.java index f3e5490..0d6f826 100644 --- a/src/main/java/edu/stanford/protege/webprotege/hierarchy/HierarchyDescriptor.java +++ b/src/main/java/edu/stanford/protege/webprotege/hierarchy/HierarchyDescriptor.java @@ -10,7 +10,7 @@ @JsonSubTypes.Type(DataPropertyHierarchyDescriptor.class), @JsonSubTypes.Type(AnnotationPropertyHierarchyDescriptor.class) }) -public sealed interface HierarchyDescriptor permits ClassHierarchyDescriptor, ObjectPropertyHierarchyDescriptor, DataPropertyHierarchyDescriptor, AnnotationPropertyHierarchyDescriptor { +public interface HierarchyDescriptor { }