Fixing build, adding unit tests

This commit is contained in:
briancaruso 2011-11-16 14:56:11 +00:00
parent 1446b9c039
commit 107c64dbf8
10 changed files with 145 additions and 61 deletions

View file

@ -121,7 +121,7 @@
DataPropertyStatement dps = null;
if( dataHash != 0) {
Model model = (Model)application.getAttribute("jenaOntModel");
dps = RdfLiteralHash.getPropertyStmtByHash(subject, predicateUri, dataHash, model);
dps = RdfLiteralHash.getPropertyStmtByHash(subject.getURI(), predicateUri, dataHash, model);
if (dps==null) {
log.error("No match to existing data property \""+predicateUri+"\" statement for subject \""+subjectUri+"\" via key "+datapropKeyStr);