You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jena.apache.org by an...@apache.org on 2016/07/12 18:16:32 UTC

[5/6] jena git commit: Minor cleanup

Minor cleanup

Project: http://git-wip-us.apache.org/repos/asf/jena/repo
Commit: http://git-wip-us.apache.org/repos/asf/jena/commit/44784c62
Tree: http://git-wip-us.apache.org/repos/asf/jena/tree/44784c62
Diff: http://git-wip-us.apache.org/repos/asf/jena/diff/44784c62

Branch: refs/heads/master
Commit: 44784c627bb05355f2457cf0ece7dace63920ffe
Parents: 58b6b0e
Author: Andy Seaborne <an...@apache.org>
Authored: Tue Jul 12 17:29:00 2016 +0100
Committer: Andy Seaborne <an...@apache.org>
Committed: Tue Jul 12 17:29:00 2016 +0100

----------------------------------------------------------------------
 .../tdb/transaction/TestTransactionUnionGraph.java   | 15 +++++----------
 1 file changed, 5 insertions(+), 10 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/jena/blob/44784c62/jena-tdb/src/test/java/org/apache/jena/tdb/transaction/TestTransactionUnionGraph.java
----------------------------------------------------------------------
diff --git a/jena-tdb/src/test/java/org/apache/jena/tdb/transaction/TestTransactionUnionGraph.java b/jena-tdb/src/test/java/org/apache/jena/tdb/transaction/TestTransactionUnionGraph.java
index 8c29f3f..2cbd310 100644
--- a/jena-tdb/src/test/java/org/apache/jena/tdb/transaction/TestTransactionUnionGraph.java
+++ b/jena-tdb/src/test/java/org/apache/jena/tdb/transaction/TestTransactionUnionGraph.java
@@ -18,6 +18,9 @@
 
 package org.apache.jena.tdb.transaction;
 
+import static org.apache.jena.query.ReadWrite.READ ;
+import static org.apache.jena.query.ReadWrite.WRITE ;
+
 import org.apache.jena.atlas.junit.BaseTest ;
 import org.apache.jena.atlas.lib.StrUtils ;
 import org.apache.jena.query.* ;
@@ -27,20 +30,12 @@ import org.apache.jena.tdb.TDB ;
 import org.apache.jena.tdb.TDBFactory ;
 import org.apache.jena.update.* ;
 import org.junit.* ;
-import static org.apache.jena.query.ReadWrite.* ;
 
-/** Tests of transactions and the TDG union graph */
+/** Tests of transactions and the TDB union graph */
 public class TestTransactionUnionGraph extends BaseTest
 {
     private Dataset ds ;
     
-//    @BeforeClass public static void beforeClass()
-//    { 
-//        ds = TDBFactory.createDataset() ;
-//        ds.asDatasetGraph().add(SSE.parseQuad("(<g> <s> <p> 1)")) ;
-//    }
-//    @AfterClass public static void afterClass() { ds = null ; }
-
     @Before
     public void before()
     {
@@ -48,7 +43,7 @@ public class TestTransactionUnionGraph extends BaseTest
         ds.asDatasetGraph().add(SSE.parseQuad("(<g> <s> <p> 1)")) ;
     }
     
-    @After public void after() {} 
+    @After public void after() { } 
     
     @Test public void uniontxn_global_r()
     {