From 33de861763d68d64bda973248faa07785d984da2 Mon Sep 17 00:00:00 2001 From: silag Date: Wed, 17 Apr 2024 16:24:42 +0300 Subject: [PATCH] upgrade ontologychanged to projectevent --- pom.xml | 2 +- .../protege/webprotege/change/OntologyChangedEvent.java | 7 ++----- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/pom.xml b/pom.xml index 7d4dc6e..7b8cf52 100644 --- a/pom.xml +++ b/pom.xml @@ -11,7 +11,7 @@ edu.stanford.protege webprotege-ontology-change Data structures for representing ontology changes - 0.9.3-SNAPSHOT + 0.9.3 webprotege-ontology-change 16 diff --git a/src/main/java/edu/stanford/protege/webprotege/change/OntologyChangedEvent.java b/src/main/java/edu/stanford/protege/webprotege/change/OntologyChangedEvent.java index dd0ce4d..7d3ce7d 100644 --- a/src/main/java/edu/stanford/protege/webprotege/change/OntologyChangedEvent.java +++ b/src/main/java/edu/stanford/protege/webprotege/change/OntologyChangedEvent.java @@ -1,10 +1,7 @@ package edu.stanford.protege.webprotege.change; import com.fasterxml.jackson.annotation.JsonTypeName; -import edu.stanford.protege.webprotege.common.Event; -import edu.stanford.protege.webprotege.common.EventId; -import edu.stanford.protege.webprotege.common.ProjectId; -import edu.stanford.protege.webprotege.common.UserId; +import edu.stanford.protege.webprotege.common.*; /** * Matthew Horridge @@ -17,7 +14,7 @@ public record OntologyChangedEvent(EventId eventId, ProjectId projectId, UserId userId, - OntologyChange ontologyChange) implements Event { + OntologyChange ontologyChange) implements ProjectEvent { public static final String CHANNEL = "webprotege.events.projects.OntologyChanged";