Skip to content

Commit 7ff76bd

Browse files
committed
Fix issue with RDF lists after updating to newer Jena lib.
1 parent 8eaf315 commit 7ff76bd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

core/esmf-aspect-model-validator/src/main/java/org/eclipse/esmf/aspectmodel/shacl/RustLikeFormatter.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ public String constructDetailedMessage( final RDFNode highlight, final String me
8787
}
8888

8989
candidateStatements = sourceModel.listStatements()
90+
.filterDrop( statement -> Objects.equals( statement.getPredicate(), RDF.rest ) ) // internal Jena list bookkeeping, nothing interesting for us
9091
.filterKeep( statement -> spansLine( statement, highlightToken.line() ) )
9192
.toList();
9293
return formatError( message );

0 commit comments

Comments
 (0)