commonsrdf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject [44/50] [abbrv] incubator-commonsrdf git commit: Avoid System.out
Date Wed, 26 Oct 2016 11:51:46 GMT
Avoid System.out


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

Branch: refs/heads/COMMONSRDF-46
Commit: c34a85e14994831825f966a6a9bdb65c59711436
Parents: b51b7bc
Author: Stian Soiland-Reyes <stain@apache.org>
Authored: Wed Oct 26 11:41:41 2016 +0100
Committer: Stian Soiland-Reyes <stain@apache.org>
Committed: Wed Oct 26 11:41:49 2016 +0100

----------------------------------------------------------------------
 .../commons/rdf/jena/TestJenaGraphToCommonsRDFGraph.java      | 7 +++----
 .../java/org/apache/commons/rdf/simple/SimpleGraphTest.java   | 2 +-
 2 files changed, 4 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/blob/c34a85e1/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 1a7b4e0..13ee7e7 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
@@ -63,10 +63,9 @@ public class TestJenaGraphToCommonsRDFGraph {
         graph.add(rft.createIRI("http://example/s2"),
                   rft.createIRI("http://example/p2"),
                   rft.createLiteral("foo")) ;
-        System.out.println("==== Write CommonsRDF graph\n") ;
-        graph.stream().forEach(System.out::println) ;
-        
-        System.out.println("\n==== Write Jena graph directly\n") ;
+//        System.out.println("==== Write CommonsRDF graph\n") ;
+//        graph.stream().forEach(System.out::println) ;        
+//        System.out.println("\n==== Write Jena graph directly\n") ;
         // And its in the Jena graph
         RDFDataMgr.write(System.out, jGraph, Lang.TTL) ;
     }

http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/blob/c34a85e1/simple/src/test/java/org/apache/commons/rdf/simple/SimpleGraphTest.java
----------------------------------------------------------------------
diff --git a/simple/src/test/java/org/apache/commons/rdf/simple/SimpleGraphTest.java b/simple/src/test/java/org/apache/commons/rdf/simple/SimpleGraphTest.java
index 14f14a6..90015c9 100644
--- a/simple/src/test/java/org/apache/commons/rdf/simple/SimpleGraphTest.java
+++ b/simple/src/test/java/org/apache/commons/rdf/simple/SimpleGraphTest.java
@@ -37,7 +37,7 @@ public class SimpleGraphTest extends AbstractGraphTest {
     @Test
     public void graphToString() {
         Assume.assumeNotNull(aliceName, companyName);
-        System.out.println(graph);
+        //System.out.println(graph);
         assertTrue(graph
                 .toString()
                 .contains(


Mime
View raw message