From e2afb2aee6691a2f348ee4238417a67aa8fb205c Mon Sep 17 00:00:00 2001 From: stellamit Date: Mon, 27 Jun 2011 19:10:01 +0000 Subject: [PATCH] don't print warning about multiple assertions in site DB of one annotation --- .../mannlib/vitro/webapp/ontology/update/TBoxUpdater.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/webapp/src/edu/cornell/mannlib/vitro/webapp/ontology/update/TBoxUpdater.java b/webapp/src/edu/cornell/mannlib/vitro/webapp/ontology/update/TBoxUpdater.java index 0034320db..c219b8f2b 100644 --- a/webapp/src/edu/cornell/mannlib/vitro/webapp/ontology/update/TBoxUpdater.java +++ b/webapp/src/edu/cornell/mannlib/vitro/webapp/ontology/update/TBoxUpdater.java @@ -3,7 +3,6 @@ package edu.cornell.mannlib.vitro.webapp.ontology.update; import java.io.IOException; -import java.util.ArrayList; import java.util.List; import com.hp.hpl.jena.ontology.OntModel; @@ -134,10 +133,12 @@ public class TBoxUpdater { List siteObjects = siteModel.listObjectsOfProperty(subject, predicate).toList(); if (siteObjects.size() > 1) { + /* logger.log("WARNING: found " + siteObjects.size() + - " statements with subject = " + subject.getURI() + + " statements with subject = " + subject.getURI() + " and property = " + predicate.getURI() + " in the site database (maximum of one is expected)"); + */ } if (siteObjects.size() > 0) {