commonsrdf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject [1/3] incubator-commonsrdf git commit: construct an empty RDFDataSet() by default
Date Mon, 04 Apr 2016 13:53:14 GMT
Repository: incubator-commonsrdf
Updated Branches:
  refs/heads/jsonld-java 0d85be930 -> db9fd7667


construct an empty RDFDataSet() by default


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

Branch: refs/heads/jsonld-java
Commit: 4cfce97b268979a2e97e15e422648edb60f393f2
Parents: 0d85be9
Author: Stian Soiland-Reyes <stain@apache.org>
Authored: Mon Apr 4 11:47:25 2016 +0100
Committer: Stian Soiland-Reyes <stain@apache.org>
Committed: Mon Apr 4 11:47:25 2016 +0100

----------------------------------------------------------------------
 .../main/java/org/apache/commons/rdf/jsonldjava/JsonLDGraph.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/blob/4cfce97b/jsonld-java/src/main/java/org/apache/commons/rdf/jsonldjava/JsonLDGraph.java
----------------------------------------------------------------------
diff --git a/jsonld-java/src/main/java/org/apache/commons/rdf/jsonldjava/JsonLDGraph.java
b/jsonld-java/src/main/java/org/apache/commons/rdf/jsonldjava/JsonLDGraph.java
index af96069..41691ba 100644
--- a/jsonld-java/src/main/java/org/apache/commons/rdf/jsonldjava/JsonLDGraph.java
+++ b/jsonld-java/src/main/java/org/apache/commons/rdf/jsonldjava/JsonLDGraph.java
@@ -42,7 +42,7 @@ public class JsonLDGraph implements Graph {
 	
 	private static UUID SALT = UUID.randomUUID(); 
 	
-	private RDFDataset rdfDataSet;
+	private RDFDataset rdfDataSet = new RDFDataset();
 
 	/**
 	 * If true, include all Quad statements as Triples. If false, 


Mime
View raw message