jena-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a...@apache.org
Subject [55/65] [abbrv] jena git commit: Fix comments
Date Tue, 03 Oct 2017 19:34:41 GMT
Fix comments


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

Branch: refs/heads/master
Commit: a3a52f0d3f06b3d58a17a7db913888ec9e005e66
Parents: 80fe17f
Author: Andy Seaborne <andy@apache.org>
Authored: Mon Oct 2 21:43:38 2017 +0100
Committer: Andy Seaborne <andy@apache.org>
Committed: Mon Oct 2 21:43:38 2017 +0100

----------------------------------------------------------------------
 .../src/main/java/org/apache/jena/tdb2/loader/Loader.java     | 1 -
 .../java/org/apache/jena/tdb2/loader/StreamRDFBatchSplit.java | 7 ++-----
 2 files changed, 2 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/jena/blob/a3a52f0d/jena-db/jena-tdb2/src/main/java/org/apache/jena/tdb2/loader/Loader.java
----------------------------------------------------------------------
diff --git a/jena-db/jena-tdb2/src/main/java/org/apache/jena/tdb2/loader/Loader.java b/jena-db/jena-tdb2/src/main/java/org/apache/jena/tdb2/loader/Loader.java
index 05fe2c4..1dbb5f0 100644
--- a/jena-db/jena-tdb2/src/main/java/org/apache/jena/tdb2/loader/Loader.java
+++ b/jena-db/jena-tdb2/src/main/java/org/apache/jena/tdb2/loader/Loader.java
@@ -76,4 +76,3 @@ public class Loader {
         plog.finishMessage();
     }
 }
-

http://git-wip-us.apache.org/repos/asf/jena/blob/a3a52f0d/jena-db/jena-tdb2/src/main/java/org/apache/jena/tdb2/loader/StreamRDFBatchSplit.java
----------------------------------------------------------------------
diff --git a/jena-db/jena-tdb2/src/main/java/org/apache/jena/tdb2/loader/StreamRDFBatchSplit.java
b/jena-db/jena-tdb2/src/main/java/org/apache/jena/tdb2/loader/StreamRDFBatchSplit.java
index 928aeb8..5d76742 100644
--- a/jena-db/jena-tdb2/src/main/java/org/apache/jena/tdb2/loader/StreamRDFBatchSplit.java
+++ b/jena-db/jena-tdb2/src/main/java/org/apache/jena/tdb2/loader/StreamRDFBatchSplit.java
@@ -39,13 +39,10 @@ import org.apache.jena.tdb2.store.tupletable.TupleTable;
 import org.slf4j.Logger ;
 import org.slf4j.LoggerFactory ;
 
-/**
+/** Batch by size.
  * @see BatchedStreamRDF BatchedStreamRDF, which batches by subject
  */
 public class StreamRDFBatchSplit implements StreamRDF {
-    // Need to handle transactions?
-    // Lizard des (TxnClient) 
-    
     private static Logger log = LoggerFactory.getLogger(StreamRDFBatchSplit.class) ;
     protected static NodeId placeholder = NodeIdFactory.genUnique();
     protected final List<Triple> triples ;
@@ -69,7 +66,7 @@ public class StreamRDFBatchSplit implements StreamRDF {
     @Override
     public void start() {
         log.info("Batch size: "+batchSize);
-        // Multiple starts in one trnasaciton are possible.
+        // Multiple starts in one transaction are possible.
         if ( txn == null )
             txn = dsg.getTxnSystem().getThreadTransaction() ;
         if ( txn == null )


Mime
View raw message