jena-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a...@apache.org
Subject svn commit: r1517258 - /jena/trunk/jena-fuseki/src/main/java/org/apache/jena/fuseki/server/SPARQLServer.java
Date Sun, 25 Aug 2013 09:53:02 GMT
Author: andy
Date: Sun Aug 25 09:53:02 2013
New Revision: 1517258

URL: http://svn.apache.org/r1517258
Log:
Split out configuring datasets

Modified:
    jena/trunk/jena-fuseki/src/main/java/org/apache/jena/fuseki/server/SPARQLServer.java

Modified: jena/trunk/jena-fuseki/src/main/java/org/apache/jena/fuseki/server/SPARQLServer.java
URL: http://svn.apache.org/viewvc/jena/trunk/jena-fuseki/src/main/java/org/apache/jena/fuseki/server/SPARQLServer.java?rev=1517258&r1=1517257&r2=1517258&view=diff
==============================================================================
--- jena/trunk/jena-fuseki/src/main/java/org/apache/jena/fuseki/server/SPARQLServer.java (original)
+++ jena/trunk/jena-fuseki/src/main/java/org/apache/jena/fuseki/server/SPARQLServer.java Sun
Aug 25 09:53:02 2013
@@ -91,11 +91,16 @@ public class SPARQLServer {
         // where it makes no sense to have it turned on e.g. update and upload
 
         ServletContextHandler context = buildServer(serverConfig.jettyConfigFile, config.enableCompression)
;
+        configureDatasets(context) ;
+    }
+
+    private void configureDatasets(ServletContextHandler context) {
         // Build them all.
         for (DatasetRef dsDesc : serverConfig.datasets)
-            configureOneDataset(context, dsDesc, config.enableCompression) ;
+            configureOneDataset(context, dsDesc, serverConfig.enableCompression) ;
+        
     }
-
+    
     /**
      * Initialize the {@link SPARQLServer} instance.
      */



Mime
View raw message