Skip to content

Commit

Permalink
#171: Correction of type check
Browse files Browse the repository at this point in the history
  • Loading branch information
HolgerKnublauch committed Apr 6, 2024
1 parent 9172c9c commit b3f4ccf
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ public void executeConstraint(Constraint constraint, ValidationEngine engine, Co
if(closed) {
long startTime = System.currentTimeMillis();
for(RDFNode focusNode : focusNodes) {
if(focusNode instanceof Resource) {
for(RDFNode valueNode : engine.getValueNodes(constraint, focusNode)) {
for(RDFNode valueNode : engine.getValueNodes(constraint, focusNode)) {
if(valueNode instanceof Resource) {
Iterator<Statement> it = ((Resource)valueNode).listProperties();
while(it.hasNext()) {
Statement s = it.next();
Expand Down

0 comments on commit b3f4ccf

Please sign in to comment.