[ 
https://issues.apache.org/jira/browse/JENA-2229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17466528#comment-17466528
 ] 

ASF subversion and git services commented on JENA-2229:
-------------------------------------------------------

Commit 3bc5322bdf3fc0267b7e1d8050ab110c018a0912 in jena's branch 
refs/heads/main from Andy Seaborne
[ https://gitbox.apache.org/repos/asf?p=jena.git;h=3bc5322 ]

JENA-2229: Correct return of sourceConstraintComponent()


> 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)

Reply via email to