don't print warning about multiple assertions in site DB of one annotation
This commit is contained in:
parent
2cadb8be71
commit
e2afb2aee6
1 changed files with 3 additions and 2 deletions
|
@ -3,7 +3,6 @@
|
||||||
package edu.cornell.mannlib.vitro.webapp.ontology.update;
|
package edu.cornell.mannlib.vitro.webapp.ontology.update;
|
||||||
|
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import java.util.ArrayList;
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import com.hp.hpl.jena.ontology.OntModel;
|
import com.hp.hpl.jena.ontology.OntModel;
|
||||||
|
@ -134,10 +133,12 @@ public class TBoxUpdater {
|
||||||
List<RDFNode> siteObjects = siteModel.listObjectsOfProperty(subject, predicate).toList();
|
List<RDFNode> siteObjects = siteModel.listObjectsOfProperty(subject, predicate).toList();
|
||||||
|
|
||||||
if (siteObjects.size() > 1) {
|
if (siteObjects.size() > 1) {
|
||||||
|
/*
|
||||||
logger.log("WARNING: found " + siteObjects.size() +
|
logger.log("WARNING: found " + siteObjects.size() +
|
||||||
" statements with subject = " + subject.getURI() +
|
" statements with subject = " + subject.getURI() +
|
||||||
" and property = " + predicate.getURI() +
|
" and property = " + predicate.getURI() +
|
||||||
" in the site database (maximum of one is expected)");
|
" in the site database (maximum of one is expected)");
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
|
|
||||||
if (siteObjects.size() > 0) {
|
if (siteObjects.size() > 0) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue