[ https://issues.apache.org/jira/browse/JENA-2229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17464731#comment-17464731 ]
Andy Seaborne edited comment on JENA-2229 at 12/23/21, 6:17 PM: ---------------------------------------------------------------- Thanks - that sort-of confirms that there isn't a route to method {{sourceConstraintComponent}} using Jena validation. So changing the signature should be OK. (Now done on my local branch of various bits and pieces.) was (Author: andy.seaborne): Thanks - that sort-of confirms that there isn't a route to method {{sourceConstraintComponent}} using Jena validation. So changing the signature should be OK. > sourceConstraintComponent returning type Constraint > --------------------------------------------------- > > Key: JENA-2229 > URL: https://issues.apache.org/jira/browse/JENA-2229 > Project: Apache Jena > Issue Type: Bug > Components: SHACL > Affects Versions: Jena 4.3.2 > Reporter: David Beaudet > Priority: Minor > Attachments: scc_example.zip > > > In org.apache.jena.shacl.validation.ReportEntry, should > > public Constraint sourceConstraintComponent() \{ return constraint; } > > instead be > > public Node sourceConstraintComponent() \{ return sourceConstraintComponent; } > > since it's possible for constraint to be null while sourceConstraintComponent > is not null; -- This message was sent by Atlassian Jira (v8.20.1#820001)