commonsrdf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject [4/6] incubator-commonsrdf git commit: TripleLike/QuadLike NOT required to thread-safe or immutable
Date Fri, 28 Oct 2016 13:26:14 GMT
TripleLike/QuadLike NOT required to thread-safe or immutable


Project: http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/commit/47734d7e
Tree: http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/tree/47734d7e
Diff: http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/diff/47734d7e

Branch: refs/heads/master
Commit: 47734d7eb054418e6da8be0702fa87f01baae75f
Parents: 797a4cd
Author: Stian Soiland-Reyes <stain@apache.org>
Authored: Fri Oct 28 14:13:01 2016 +0100
Committer: Stian Soiland-Reyes <stain@apache.org>
Committed: Fri Oct 28 14:13:01 2016 +0100

----------------------------------------------------------------------
 api/src/main/java/org/apache/commons/rdf/api/QuadLike.java   | 7 ++++---
 api/src/main/java/org/apache/commons/rdf/api/TripleLike.java | 5 +++--
 2 files changed, 7 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/blob/47734d7e/api/src/main/java/org/apache/commons/rdf/api/QuadLike.java
----------------------------------------------------------------------
diff --git a/api/src/main/java/org/apache/commons/rdf/api/QuadLike.java b/api/src/main/java/org/apache/commons/rdf/api/QuadLike.java
index cfe1733..eab92ec 100644
--- a/api/src/main/java/org/apache/commons/rdf/api/QuadLike.java
+++ b/api/src/main/java/org/apache/commons/rdf/api/QuadLike.java
@@ -25,9 +25,10 @@ import java.util.Optional;
  * A QuadLike statement has at least a {@link #getSubject()},
  * {@link #getPredicate()}, {@link #getObject()} and {@link #getGraphName()},
  * but unlike a {@link Quad} does not have a formalised
- * {@link Quad#equals(Object)} or {@link Quad#hashCode()} semantics. This
- * interface can also be used for <em>generalised quads</em> (e.g. a
- * {@link BlankNode} as predicate).
+ * {@link Quad#equals(Object)} or {@link Quad#hashCode()} semantics and is not
+ * required to be <em>immutable</em> or <em>thread-safe</em>. This
interface can
+ * also be used for <em>generalised quads</em> (e.g. a {@link BlankNode} as
+ * predicate).
  * <p>
  * Implementations should specialise which specific {@link RDFTerm} types they
  * return by overriding {@link #getSubject()}, {@link #getPredicate()},

http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/blob/47734d7e/api/src/main/java/org/apache/commons/rdf/api/TripleLike.java
----------------------------------------------------------------------
diff --git a/api/src/main/java/org/apache/commons/rdf/api/TripleLike.java b/api/src/main/java/org/apache/commons/rdf/api/TripleLike.java
index b469aa4..1427f17 100644
--- a/api/src/main/java/org/apache/commons/rdf/api/TripleLike.java
+++ b/api/src/main/java/org/apache/commons/rdf/api/TripleLike.java
@@ -24,8 +24,9 @@ package org.apache.commons.rdf.api;
  * A TripleLike statement has at least a {@link #getSubject()},
  * {@link #getPredicate()} and {@link #getObject()}, but unlike a {@link Triple}
  * does not have a formalised {@link Triple#equals(Object)} or
- * {@link Triple#hashCode()} semantics. This interfaced can also be used for
- * <em>generalised triples</em> (e.g. a {@link BlankNode} as predicate).
+ * {@link Triple#hashCode()} semantics and is not required to be
+ * <em>immutable</em> or <em>thread-safe</em>. This interfaced can
also be used
+ * for <em>generalised triples</em> (e.g. a {@link BlankNode} as predicate).
  * <p>
  * Implementations should specialise which specific {@link RDFTerm} types they
  * return by overriding {@link #getSubject()}, {@link #getPredicate()} and


Mime
View raw message