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 2012/07/19 17:42:02 UTC

svn commit: r1363389 - /jena/trunk/jena-tdb/src/main/java/com/hp/hpl/jena/tdb/transaction/TransactionManager.java

Author: andy
Date: Thu Jul 19 15:42:01 2012
New Revision: 1363389

URL: http://svn.apache.org/viewvc?rev=1363389&view=rev
Log:
Comment corrections

Modified:
    jena/trunk/jena-tdb/src/main/java/com/hp/hpl/jena/tdb/transaction/TransactionManager.java

Modified: jena/trunk/jena-tdb/src/main/java/com/hp/hpl/jena/tdb/transaction/TransactionManager.java
URL: http://svn.apache.org/viewvc/jena/trunk/jena-tdb/src/main/java/com/hp/hpl/jena/tdb/transaction/TransactionManager.java?rev=1363389&r1=1363388&r2=1363389&view=diff
==============================================================================
--- jena/trunk/jena-tdb/src/main/java/com/hp/hpl/jena/tdb/transaction/TransactionManager.java (original)
+++ jena/trunk/jena-tdb/src/main/java/com/hp/hpl/jena/tdb/transaction/TransactionManager.java Thu Jul 19 15:42:01 2012
@@ -199,7 +199,7 @@ public class TransactionManager
             processDelayedReplayQueue(txn) ;
         }
         
-        /** This cotrols how many write transactions we batch up before 
+        /** This controls how many write transactions we batch up before 
          *  deciding to flush the journal to the main database.  
          */
         private static final int QueueBatchSize = 10 ; 
@@ -208,7 +208,6 @@ public class TransactionManager
         {
             txn.getBaseDataset().getLock().leaveCriticalSection() ;
 
-            // This is so important, it shouldn't be in a TSM.
             if ( activeReaders.get() == 0 && queue.size() >= QueueBatchSize )
             {
                 // Can commit immediately.