commonsrdf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject [07/12] incubator-commonsrdf git commit: Avoid space at end of line - " ; " -> "; "
Date Fri, 28 Oct 2016 10:34:37 GMT
Avoid space at end of line - " ;" -> ";"

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

Branch: refs/heads/COMMONSRDF-46
Commit: b7016f020c468cf696be0435fca58ad8cd7c2bb1
Parents: 2e160b5
Author: Stian Soiland-Reyes <stain@apache.org>
Authored: Fri Oct 28 11:02:48 2016 +0100
Committer: Stian Soiland-Reyes <stain@apache.org>
Committed: Fri Oct 28 11:02:48 2016 +0100

----------------------------------------------------------------------
 .../rdf/jena/impl/AbstractJenaRDFTerm.java      |  2 +-
 .../commons/rdf/jena/TestBlankNodeJena.java     |  8 +++---
 .../apache/commons/rdf/jena/TestGraphJena.java  |  6 ++---
 .../jena/TestJenaGraphToCommonsRDFGraph.java    | 26 ++++++++++----------
 .../rdf/jena/TestRDFTermFactoryJena.java        |  6 ++---
 5 files changed, 24 insertions(+), 24 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/blob/b7016f02/jena/src/main/java/org/apache/commons/rdf/jena/impl/AbstractJenaRDFTerm.java
----------------------------------------------------------------------
diff --git a/jena/src/main/java/org/apache/commons/rdf/jena/impl/AbstractJenaRDFTerm.java
b/jena/src/main/java/org/apache/commons/rdf/jena/impl/AbstractJenaRDFTerm.java
index 9c0d7ec..fd117a2 100644
--- a/jena/src/main/java/org/apache/commons/rdf/jena/impl/AbstractJenaRDFTerm.java
+++ b/jena/src/main/java/org/apache/commons/rdf/jena/impl/AbstractJenaRDFTerm.java
@@ -25,7 +25,7 @@ import org.apache.jena.riot.out.NodeFmtLib;
 
 class AbstractJenaRDFTerm implements JenaRDFTerm, RDFTerm {
 	private Node node;
-	// static private PrefixMapping empty = new PrefixMappingImpl() ;
+	// static private PrefixMapping empty = new PrefixMappingImpl();
 
 	protected AbstractJenaRDFTerm(Node node) {
 		this.node = node;

http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/blob/b7016f02/jena/src/test/java/org/apache/commons/rdf/jena/TestBlankNodeJena.java
----------------------------------------------------------------------
diff --git a/jena/src/test/java/org/apache/commons/rdf/jena/TestBlankNodeJena.java b/jena/src/test/java/org/apache/commons/rdf/jena/TestBlankNodeJena.java
index a3db975..abe8080 100644
--- a/jena/src/test/java/org/apache/commons/rdf/jena/TestBlankNodeJena.java
+++ b/jena/src/test/java/org/apache/commons/rdf/jena/TestBlankNodeJena.java
@@ -20,8 +20,8 @@ package org.apache.commons.rdf.jena;
 
 import java.util.UUID;
 
-import org.apache.commons.rdf.api.AbstractBlankNodeTest ;
-import org.apache.commons.rdf.api.BlankNode ;
+import org.apache.commons.rdf.api.AbstractBlankNodeTest;
+import org.apache.commons.rdf.api.BlankNode;
 import org.apache.commons.rdf.jena.impl.InternalJenaFactory;
 
 public class TestBlankNodeJena extends AbstractBlankNodeTest {
@@ -35,12 +35,12 @@ public class TestBlankNodeJena extends AbstractBlankNodeTest {
 
 	@Override
     protected BlankNode getBlankNode() {
-        return internalJenaFactory.createBlankNode(SALT) ;
+        return internalJenaFactory.createBlankNode(SALT);
     }
     
     @Override
     protected BlankNode getBlankNode(String identifier) {
-        return internalJenaFactory.createBlankNode(identifier, SALT) ;
+        return internalJenaFactory.createBlankNode(identifier, SALT);
     }
 }
 

http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/blob/b7016f02/jena/src/test/java/org/apache/commons/rdf/jena/TestGraphJena.java
----------------------------------------------------------------------
diff --git a/jena/src/test/java/org/apache/commons/rdf/jena/TestGraphJena.java b/jena/src/test/java/org/apache/commons/rdf/jena/TestGraphJena.java
index a11fdc6..296c42d 100644
--- a/jena/src/test/java/org/apache/commons/rdf/jena/TestGraphJena.java
+++ b/jena/src/test/java/org/apache/commons/rdf/jena/TestGraphJena.java
@@ -18,14 +18,14 @@
 
 package org.apache.commons.rdf.jena;
 
-import org.apache.commons.rdf.api.AbstractGraphTest ;
-import org.apache.commons.rdf.api.RDF ;
+import org.apache.commons.rdf.api.AbstractGraphTest;
+import org.apache.commons.rdf.api.RDF;
 
 public class TestGraphJena extends AbstractGraphTest {
 
     @Override
     public RDF createFactory() {
-        return new JenaRDF() ;
+        return new JenaRDF();
     }
 
 }

http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/blob/b7016f02/jena/src/test/java/org/apache/commons/rdf/jena/TestJenaGraphToCommonsRDFGraph.java
----------------------------------------------------------------------
diff --git a/jena/src/test/java/org/apache/commons/rdf/jena/TestJenaGraphToCommonsRDFGraph.java
b/jena/src/test/java/org/apache/commons/rdf/jena/TestJenaGraphToCommonsRDFGraph.java
index 51cfa4c..50bb1ff 100644
--- a/jena/src/test/java/org/apache/commons/rdf/jena/TestJenaGraphToCommonsRDFGraph.java
+++ b/jena/src/test/java/org/apache/commons/rdf/jena/TestJenaGraphToCommonsRDFGraph.java
@@ -28,13 +28,13 @@ import java.nio.file.StandardCopyOption;
 
 import org.apache.commons.rdf.api.BlankNode;
 import org.apache.commons.rdf.api.BlankNodeOrIRI;
-import org.apache.commons.rdf.api.Graph ;
+import org.apache.commons.rdf.api.Graph;
 import org.apache.commons.rdf.api.RDFTerm;
 import org.apache.commons.rdf.api.Triple;
 import org.apache.commons.rdf.simple.Types;
-import org.apache.jena.riot.Lang ;
-import org.apache.jena.riot.RDFDataMgr ;
-import org.apache.jena.sparql.graph.GraphFactory ;
+import org.apache.jena.riot.Lang;
+import org.apache.jena.riot.RDFDataMgr;
+import org.apache.jena.sparql.graph.GraphFactory;
 import org.junit.After;
 import org.junit.Before;
 import org.junit.Test;
@@ -60,13 +60,13 @@ public class TestJenaGraphToCommonsRDFGraph {
     
     @Test
 	public void jenaToCommonsRDF() throws Exception {
-        org.apache.jena.graph.Graph jGraph = GraphFactory.createGraphMem() ;        
-        RDFDataMgr.read(jGraph, turtleFile.toUri().toString()) ;
+        org.apache.jena.graph.Graph jGraph = GraphFactory.createGraphMem();
+        RDFDataMgr.read(jGraph, turtleFile.toUri().toString());
         
-        JenaRDF factory = new JenaRDF() ;
+        JenaRDF factory = new JenaRDF();
         
         // "graph" is a CommonsRDF graph 
-        Graph graph = factory.asGraph(jGraph) ;
+        Graph graph = factory.asGraph(jGraph);
         
         
         
@@ -115,7 +115,7 @@ public class TestJenaGraphToCommonsRDFGraph {
 		JenaLiteral foo = factory.createLiteral("foo");
 		graph.add(s2,
         		  p2,
-        		  foo) ;
+        		  foo);
 		assertEquals(4, graph.size());
 		assertTrue(graph.contains(s2,p2,foo));
         
@@ -123,11 +123,11 @@ public class TestJenaGraphToCommonsRDFGraph {
         assertTrue(jGraph.contains(s2.asJenaNode(), p2.asJenaNode(), foo.asJenaNode()));
         
         if (DEBUG) {
-	        System.out.println("==== Write CommonsRDF graph\n") ;
-	        graph.stream().forEach(System.out::println) ;        
+	        System.out.println("==== Write CommonsRDF graph\n");
+	        graph.stream().forEach(System.out::println);        
 	        // And its in the Jena graph
-	        System.out.println("\n==== Write Jena graph directly\n") ;
-	        RDFDataMgr.write(System.out, jGraph, Lang.TTL) ;
+	        System.out.println("\n==== Write Jena graph directly\n");
+	        RDFDataMgr.write(System.out, jGraph, Lang.TTL);
         }
     }
 }

http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/blob/b7016f02/jena/src/test/java/org/apache/commons/rdf/jena/TestRDFTermFactoryJena.java
----------------------------------------------------------------------
diff --git a/jena/src/test/java/org/apache/commons/rdf/jena/TestRDFTermFactoryJena.java b/jena/src/test/java/org/apache/commons/rdf/jena/TestRDFTermFactoryJena.java
index 327f218..870546a 100644
--- a/jena/src/test/java/org/apache/commons/rdf/jena/TestRDFTermFactoryJena.java
+++ b/jena/src/test/java/org/apache/commons/rdf/jena/TestRDFTermFactoryJena.java
@@ -18,14 +18,14 @@
 
 package org.apache.commons.rdf.jena;
 
-import org.apache.commons.rdf.api.AbstractRDFTermFactoryTest ;
-import org.apache.commons.rdf.api.RDF ;
+import org.apache.commons.rdf.api.AbstractRDFTermFactoryTest;
+import org.apache.commons.rdf.api.RDF;
 
 public class TestRDFTermFactoryJena extends AbstractRDFTermFactoryTest {
 	
     @Override
     public RDF createFactory() {
-        return new JenaRDF() ;
+        return new JenaRDF();
     }
 
 }


Mime
View raw message