jena-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a...@apache.org
Subject [4/6] jena git commit: Minor tidying.
Date Fri, 18 Sep 2015 22:29:44 GMT
Minor tidying.

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

Branch: refs/heads/Jena-1029_subsystem
Commit: d60933e90c8f10dc3bfe80555c47db7e98532ee3
Parents: 23a01e9
Author: Andy Seaborne <andy@apache.org>
Authored: Fri Sep 18 22:11:41 2015 +0100
Committer: Andy Seaborne <andy@apache.org>
Committed: Fri Sep 18 22:11:41 2015 +0100

----------------------------------------------------------------------
 jena-arq/src/main/java/org/apache/jena/query/ARQ.java             | 1 -
 jena-sdb/src/main/java/org/apache/jena/sdb/SDB.java               | 3 ---
 .../src/test/java/org/apache/jena/sdb/test/SDBQueryTestSuite.java | 1 -
 jena-text/src/main/java/org/apache/jena/query/text/TextQuery.java | 1 -
 4 files changed, 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/jena/blob/d60933e9/jena-arq/src/main/java/org/apache/jena/query/ARQ.java
----------------------------------------------------------------------
diff --git a/jena-arq/src/main/java/org/apache/jena/query/ARQ.java b/jena-arq/src/main/java/org/apache/jena/query/ARQ.java
index adbf742..c9d2f84 100644
--- a/jena-arq/src/main/java/org/apache/jena/query/ARQ.java
+++ b/jena-arq/src/main/java/org/apache/jena/query/ARQ.java
@@ -545,7 +545,6 @@ public class ARQ
                     System.err.println("ARQ.init - skip") ;
                 return ;
             }
-             
             initialized = true ;
             if ( JenaSystem.DEBUG_INIT )
                 System.err.println("ARQ.init - start") ;

http://git-wip-us.apache.org/repos/asf/jena/blob/d60933e9/jena-sdb/src/main/java/org/apache/jena/sdb/SDB.java
----------------------------------------------------------------------
diff --git a/jena-sdb/src/main/java/org/apache/jena/sdb/SDB.java b/jena-sdb/src/main/java/org/apache/jena/sdb/SDB.java
index 544bbe6..39e7634 100644
--- a/jena-sdb/src/main/java/org/apache/jena/sdb/SDB.java
+++ b/jena-sdb/src/main/java/org/apache/jena/sdb/SDB.java
@@ -95,9 +95,6 @@ public class SDB
             initialized = true ;
             if ( JenaSystem.DEBUG_INIT )
                 System.err.println("SDB.init - start") ;
-            // Set this immediately in case code below causes init() to be called.
-            // (It's better if there are no dependences but ...)
-            initialized = true ;
 
             // Better not to break up BGPs too much.
             ARQ.getContext().set(ARQ.optFilterPlacement, false) ;

http://git-wip-us.apache.org/repos/asf/jena/blob/d60933e9/jena-sdb/src/test/java/org/apache/jena/sdb/test/SDBQueryTestSuite.java
----------------------------------------------------------------------
diff --git a/jena-sdb/src/test/java/org/apache/jena/sdb/test/SDBQueryTestSuite.java b/jena-sdb/src/test/java/org/apache/jena/sdb/test/SDBQueryTestSuite.java
index f451a07..71dd11b 100644
--- a/jena-sdb/src/test/java/org/apache/jena/sdb/test/SDBQueryTestSuite.java
+++ b/jena-sdb/src/test/java/org/apache/jena/sdb/test/SDBQueryTestSuite.java
@@ -22,7 +22,6 @@ import junit.framework.TestSuite;
 import org.apache.jena.query.ARQ ;
 import org.apache.jena.sdb.SDB ;
 import org.apache.jena.sdb.test.junit.QueryTestSDBFactory ;
-import org.apache.jena.system.JenaSystem ;
 import org.junit.runner.RunWith;
 import org.junit.runners.AllTests;
 

http://git-wip-us.apache.org/repos/asf/jena/blob/d60933e9/jena-text/src/main/java/org/apache/jena/query/text/TextQuery.java
----------------------------------------------------------------------
diff --git a/jena-text/src/main/java/org/apache/jena/query/text/TextQuery.java b/jena-text/src/main/java/org/apache/jena/query/text/TextQuery.java
index 5e57341..f78fea9 100644
--- a/jena-text/src/main/java/org/apache/jena/query/text/TextQuery.java
+++ b/jena-text/src/main/java/org/apache/jena/query/text/TextQuery.java
@@ -59,7 +59,6 @@ public class TextQuery
             initialized = true ;
             if ( JenaSystem.DEBUG_INIT )
                 System.err.println("TextQuery.init - start") ;
-            initialized = true ;
             TextAssembler.init() ;
             
             SystemInfo sysInfo = new SystemInfo(IRI, PATH, VERSION, BUILD_DATE) ;


Mime
View raw message