You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by "David Beaudet (Jira)" <ji...@apache.org> on 2021/12/23 15:45:00 UTC

[jira] [Updated] (JENA-2229) sourceConstraintComponent returning type Constraint

     [ https://issues.apache.org/jira/browse/JENA-2229?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Beaudet updated JENA-2229:
--------------------------------
    Attachment: scc_example.zip

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