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 2011/11/07 10:14:43 UTC

svn commit: r1198663 - in /incubator/jena/Scratch/AFS/Jena-Dev/trunk/src/dev: DevARQ.java RunARQ.java RunBase.java

Author: andy
Date: Mon Nov  7 09:14:42 2011
New Revision: 1198663

URL: http://svn.apache.org/viewvc?rev=1198663&view=rev
Log: (empty)

Added:
    incubator/jena/Scratch/AFS/Jena-Dev/trunk/src/dev/RunBase.java   (with props)
Modified:
    incubator/jena/Scratch/AFS/Jena-Dev/trunk/src/dev/DevARQ.java
    incubator/jena/Scratch/AFS/Jena-Dev/trunk/src/dev/RunARQ.java

Modified: incubator/jena/Scratch/AFS/Jena-Dev/trunk/src/dev/DevARQ.java
URL: http://svn.apache.org/viewvc/incubator/jena/Scratch/AFS/Jena-Dev/trunk/src/dev/DevARQ.java?rev=1198663&r1=1198662&r2=1198663&view=diff
==============================================================================
--- incubator/jena/Scratch/AFS/Jena-Dev/trunk/src/dev/DevARQ.java (original)
+++ incubator/jena/Scratch/AFS/Jena-Dev/trunk/src/dev/DevARQ.java Mon Nov  7 09:14:42 2011
@@ -43,6 +43,10 @@ public class DevARQ
     // Automatically create graphs for in-memorry update.
     //   DatasetFactory.create() ; returns an auto-add dataset.
     //   and UpdateAction.execute (request, model) has a fixed datset of one graph.
+    
+    // Cache scoping calculations in Ops
+    // Track sort order
+    // Systematic use of variable allocators (content? global?) 
     
     // QueryEngineHTTP - content negotiation, Apache httpClient.
     

Modified: incubator/jena/Scratch/AFS/Jena-Dev/trunk/src/dev/RunARQ.java
URL: http://svn.apache.org/viewvc/incubator/jena/Scratch/AFS/Jena-Dev/trunk/src/dev/RunARQ.java?rev=1198663&r1=1198662&r2=1198663&view=diff
==============================================================================
--- incubator/jena/Scratch/AFS/Jena-Dev/trunk/src/dev/RunARQ.java (original)
+++ incubator/jena/Scratch/AFS/Jena-Dev/trunk/src/dev/RunARQ.java Mon Nov  7 09:14:42 2011
@@ -17,7 +17,8 @@
  */
 
 package dev;
-
+
+import static dev.RunBase.* ;
 import java.io.FileInputStream ;
 import java.io.InputStream ;
 import java.util.Iterator ;
@@ -79,23 +80,7 @@ import com.hp.hpl.jena.util.FileManager 
 
 public class RunARQ
 {
-    static String divider = "----------------------------------------" ;
-    static String nextDivider = null ;
-    static void divider()
-    {
-        if ( nextDivider != null )
-            System.out.println(nextDivider) ;
-        nextDivider = divider ;
-    }
-    
-    static { Log.setLog4j() ; }
-    
-    public static void exit(int code)
-    {
-        System.out.flush() ;
-        System.out.println("DONE") ;
-        System.exit(code) ;
-    }
+    static { Log.setLog4j() ; }
 
     @SuppressWarnings("deprecation")
     public static void main(String[] argv) throws Exception

Added: incubator/jena/Scratch/AFS/Jena-Dev/trunk/src/dev/RunBase.java
URL: http://svn.apache.org/viewvc/incubator/jena/Scratch/AFS/Jena-Dev/trunk/src/dev/RunBase.java?rev=1198663&view=auto
==============================================================================
--- incubator/jena/Scratch/AFS/Jena-Dev/trunk/src/dev/RunBase.java (added)
+++ incubator/jena/Scratch/AFS/Jena-Dev/trunk/src/dev/RunBase.java Mon Nov  7 09:14:42 2011
@@ -0,0 +1,41 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package dev;
+
+public class RunBase
+{
+
+    static String divider = "----------------------------------------" ;
+    static String nextDivider = null ;
+    static void divider()
+    {
+        if ( nextDivider != null )
+            System.out.println(nextDivider) ;
+        nextDivider = divider ;
+    }
+    
+    public static void exit(int code)
+    {
+        System.out.flush() ;
+        System.out.println("DONE") ;
+        System.exit(code) ;
+    }
+
+}
+

Propchange: incubator/jena/Scratch/AFS/Jena-Dev/trunk/src/dev/RunBase.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain