You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commonsrdf.apache.org by st...@apache.org on 2015/04/29 12:00:33 UTC
[09/13] incubator-commonsrdf git commit: COMMONSRDF-6 Clarify
uniqueness across JVM constraint.
COMMONSRDF-6 Clarify uniqueness across JVM constraint.
You can create instances in different JVMs that have the same
uniqueReference(), but then they are the same blank node.
Project: http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/commit/b452cd60
Tree: http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/tree/b452cd60
Diff: http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/diff/b452cd60
Branch: refs/heads/master
Commit: b452cd600e8bda47b6340a39562c55af472f618a
Parents: 9d1faab
Author: Stian Soiland-Reyes <st...@apache.org>
Authored: Wed Apr 29 10:43:58 2015 +0100
Committer: Stian Soiland-Reyes <st...@apache.org>
Committed: Wed Apr 29 10:43:58 2015 +0100
----------------------------------------------------------------------
api/src/main/java/org/apache/commons/rdf/api/BlankNode.java | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/blob/b452cd60/api/src/main/java/org/apache/commons/rdf/api/BlankNode.java
----------------------------------------------------------------------
diff --git a/api/src/main/java/org/apache/commons/rdf/api/BlankNode.java b/api/src/main/java/org/apache/commons/rdf/api/BlankNode.java
index 0ec58db..e86c412 100644
--- a/api/src/main/java/org/apache/commons/rdf/api/BlankNode.java
+++ b/api/src/main/java/org/apache/commons/rdf/api/BlankNode.java
@@ -60,9 +60,10 @@ public interface BlankNode extends BlankNodeOrIRI {
/**
* Return a reference for uniquely identifying the blank node.
* <p>
- * The reference string MUST be universally unique, e.g. blank nodes created
- * separately in different JVMs or from different {@link RDFTermFactory}
- * instances MUST NOT have the same reference string.
+ * The reference string MUST universally and uniquely identify this blank
+ * node. That is, different blank nodes created separately in different JVMs
+ * or from different {@link RDFTermFactory} instances MUST NOT have the same
+ * reference string.
* <p>
* The {@link #uniqueReference()} of two <code>BlankNode</code> instances
* MUST be equal if and only if the two blank nodes are equal according to