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

@ -374,7 +374,7 @@ and set a flag in the request to indicate "back button confusion"
Model model = (Model)application.getAttribute("jenaOntModel");
int dpropHash = Integer.parseInt(editConfig.getDatapropKey());
DataPropertyStatement dps = RdfLiteralHash.getPropertyStmtByHash(subject, editConfig.getPredicateUri(), dpropHash, model);
DataPropertyStatement dps = RdfLiteralHash.getPropertyStmtByHash(subject.getURI(), editConfig.getPredicateUri(), dpropHash, model);
if (dps != null)
return false;