You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jena.apache.org by rv...@apache.org on 2021/10/28 08:17:51 UTC
[jena] branch main updated: Fix copy/paste error in validation
report message
This is an automated email from the ASF dual-hosted git repository.
rvesse pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/jena.git
The following commit(s) were added to refs/heads/main by this push:
new 2942085 Fix copy/paste error in validation report message
new 75c7b8c Merge pull request #1095 from fkleedorfer/patch-1
2942085 is described below
commit 2942085cf267936abc8c602c4c3684af037949f3
Author: Florian Kleedorfer <fl...@austria.fm>
AuthorDate: Thu Oct 28 08:57:43 2021 +0200
Fix copy/paste error in validation report message
Not disjoint -> Not equal
---
.../org/apache/jena/shacl/engine/constraint/EqualsConstraint.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/jena-shacl/src/main/java/org/apache/jena/shacl/engine/constraint/EqualsConstraint.java b/jena-shacl/src/main/java/org/apache/jena/shacl/engine/constraint/EqualsConstraint.java
index 0f13d5c..42f170a 100644
--- a/jena-shacl/src/main/java/org/apache/jena/shacl/engine/constraint/EqualsConstraint.java
+++ b/jena-shacl/src/main/java/org/apache/jena/shacl/engine/constraint/EqualsConstraint.java
@@ -45,13 +45,13 @@ public class EqualsConstraint extends ConstraintPairwise {
Set<Node> pathNodes, Set<Node> compareNodes) {
for ( Node vn : pathNodes ) {
if ( ! compareNodes.contains(vn) ) {
- String msg = toString()+": not disjoint: value node "+displayStr(vn)+" is not in "+compareNodes;
+ String msg = toString()+": not equal: value node "+displayStr(vn)+" is not in "+compareNodes;
vCxt.reportEntry(msg, shape, focusNode, path, vn, this);
}
}
for ( Node v : compareNodes ) {
if ( ! pathNodes.contains(v) ) {
- String msg = toString()+": not disjoint: value "+displayStr(v)+" is not in "+pathNodes;
+ String msg = toString()+": not equal: value "+displayStr(v)+" is not in "+pathNodes;
vCxt.reportEntry(msg, shape, focusNode, path, v, this);
}
}