improving warning message text

This commit is contained in:
stellamit 2011-11-21 15:03:07 +00:00
parent 02598d2707
commit c6cb2fc1fd

View file

@ -623,8 +623,8 @@ public class SimpleReasoner extends StatementListener {
if ( !(stmt.getObject().asResource().getNameSpace()).equals(OWL.NS)) {
if (!unknownTypes.contains(stmt.getObject().asResource().getURI())) {
unknownTypes.add(stmt.getObject().asResource().getURI());
log.warn("Didn't find the target class (the object of an added rdf:type statement) in the TBox: " +
(stmt.getObject().asResource()).getURI() + ". No mostSpecificType computation will be done based on type assertions of this type.");
log.warn("Didn't find the target class (the object of an asserted or inferred rdf:type statement) in the TBox: " +
(stmt.getObject().asResource()).getURI() + ". No mostSpecificType computation will be done based on " + (stmt.getObject().asResource()).getURI() + " type statements.");
}
}
continue;