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 2016/10/28 13:26:15 UTC
[5/6] incubator-commonsrdf git commit: Quad.asTriple also is
equivalence-immutable
Quad.asTriple also is equivalence-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/4125eff1
Tree: http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/tree/4125eff1
Diff: http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/diff/4125eff1
Branch: refs/heads/master
Commit: 4125eff1a6d8bcf278eed181097a7257ac2fe82b
Parents: 47734d7
Author: Stian Soiland-Reyes <st...@apache.org>
Authored: Fri Oct 28 14:13:42 2016 +0100
Committer: Stian Soiland-Reyes <st...@apache.org>
Committed: Fri Oct 28 14:13:42 2016 +0100
----------------------------------------------------------------------
api/src/main/java/org/apache/commons/rdf/api/Quad.java | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/blob/4125eff1/api/src/main/java/org/apache/commons/rdf/api/Quad.java
----------------------------------------------------------------------
diff --git a/api/src/main/java/org/apache/commons/rdf/api/Quad.java b/api/src/main/java/org/apache/commons/rdf/api/Quad.java
index 0b19ec1..7fab357 100644
--- a/api/src/main/java/org/apache/commons/rdf/api/Quad.java
+++ b/api/src/main/java/org/apache/commons/rdf/api/Quad.java
@@ -32,14 +32,14 @@ import java.util.Optional;
* <strong>immutable</strong>, that is, over its life time it will have
* consistent behaviour for its {@link #equals(Object)}, and the instances
* returned from {@link #getGraphName()}, {@link #getSubject()},
- * {@link #getPredicate()} and {@link #getObject()} will have consistent
- * {@link Object#equals(Object)} behaviour.
+ * {@link #getPredicate()}, {@link #getObject()} and {@link #asTriple()} will
+ * have consistent {@link Object#equals(Object)} behaviour.
* <p>
* Note that <code>Quad</code> methods are not required to return object
* identical (<code>==</code>) instances as long as they are equivalent
- * according to their {@link RDFTerm#equals(Object)} and/or
- * {@link Optional#equals(Object)}. Specialisations of <code>Quad</code> may
- * provide additional methods that are documented to be mutable.
+ * according to {@link Object#equals(Object)}. Specialisations of
+ * <code>Quad</code> may provide additional methods that are documented to be
+ * mutable.
* <p>
* <code>Quad</code> methods are <strong>thread-safe</strong>, however
* specialisations may provide additional methods that are documented to not be