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/07 14:23:22 UTC
[28/50] incubator-commonsrdf git commit: asJenaModel() might be made
on demand
asJenaModel() might be made on demand
See
https://github.com/apache/incubator-commonsrdf/pull/23#pullrequestreview-2146939
Project: http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/commit/2462a954
Tree: http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/tree/2462a954
Diff: http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/diff/2462a954
Branch: refs/heads/rdf4j
Commit: 2462a9540c67113c797c309d1998d5336c88c9a0
Parents: c763ffa
Author: Stian Soiland-Reyes <st...@apache.org>
Authored: Thu Sep 29 15:42:53 2016 +0100
Committer: Stian Soiland-Reyes <st...@apache.org>
Committed: Thu Sep 29 15:42:53 2016 +0100
----------------------------------------------------------------------
.../src/main/java/org/apache/commons/rdf/jena/JenaGraph.java | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/blob/2462a954/jena/src/main/java/org/apache/commons/rdf/jena/JenaGraph.java
----------------------------------------------------------------------
diff --git a/jena/src/main/java/org/apache/commons/rdf/jena/JenaGraph.java b/jena/src/main/java/org/apache/commons/rdf/jena/JenaGraph.java
index fa8954e..2ce453f 100644
--- a/jena/src/main/java/org/apache/commons/rdf/jena/JenaGraph.java
+++ b/jena/src/main/java/org/apache/commons/rdf/jena/JenaGraph.java
@@ -34,12 +34,16 @@ public interface JenaGraph extends org.apache.commons.rdf.api.Graph {
public Graph asJenaGraph();
/**
- * Return the underlying Jena {@link Model}.
+ * Return the graph as a Jena {@link Model}.
* <p>
* Changes to the Jena model are reflected in the Commons RDF graph and vice
* versa.
+ * <p>
+ * Note that in some cases there is no underlying Jena {@link Model}, in
+ * which case this method will create one. Subsequent calls should return
+ * the same model.
*
* @return A Jena {@link Model}
- */
+ */
public Model asJenaModel();
}