From 5e2b6dde6bfbf257590ac1ff586d4b9e70a7b196 Mon Sep 17 00:00:00 2001 From: sjm222 Date: Thu, 1 Apr 2010 19:48:11 +0000 Subject: [PATCH] NIHVIVO-264 --- .../mannlib/vitro/webapp/ontology/update/ABoxUpdater.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webapp/src/edu/cornell/mannlib/vitro/webapp/ontology/update/ABoxUpdater.java b/webapp/src/edu/cornell/mannlib/vitro/webapp/ontology/update/ABoxUpdater.java index 1ba6e6cff..d3e4e1741 100644 --- a/webapp/src/edu/cornell/mannlib/vitro/webapp/ontology/update/ABoxUpdater.java +++ b/webapp/src/edu/cornell/mannlib/vitro/webapp/ontology/update/ABoxUpdater.java @@ -119,8 +119,8 @@ public class ABoxUpdater { try { - OntModel additions = ModelFactory.createOntologyModel(OntModelSpec.OWL_MEM); - OntModel retractions = ModelFactory.createOntologyModel(OntModelSpec.OWL_MEM); + Model additions = ModelFactory.createDefaultModel(); + Model retractions = ModelFactory.createDefaultModel(); Resource oldClass = ResourceFactory.createResource(change.getSourceURI()); Resource newClass = ResourceFactory.createResource(change.getDestinationURI());