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 2013/05/02 23:17:11 UTC
svn commit: r1478559 -
/jena/trunk/jena-tdb/src/main/java/com/hp/hpl/jena/tdb/transaction/DatasetGraphTransaction.java
Author: andy
Date: Thu May 2 21:16:50 2013
New Revision: 1478559
URL: http://svn.apache.org/r1478559
Log:
Reformat comment
Modified:
jena/trunk/jena-tdb/src/main/java/com/hp/hpl/jena/tdb/transaction/DatasetGraphTransaction.java
Modified: jena/trunk/jena-tdb/src/main/java/com/hp/hpl/jena/tdb/transaction/DatasetGraphTransaction.java
URL: http://svn.apache.org/viewvc/jena/trunk/jena-tdb/src/main/java/com/hp/hpl/jena/tdb/transaction/DatasetGraphTransaction.java?rev=1478559&r1=1478558&r2=1478559&view=diff
==============================================================================
--- jena/trunk/jena-tdb/src/main/java/com/hp/hpl/jena/tdb/transaction/DatasetGraphTransaction.java (original)
+++ jena/trunk/jena-tdb/src/main/java/com/hp/hpl/jena/tdb/transaction/DatasetGraphTransaction.java Thu May 2 21:16:50 2013
@@ -41,13 +41,12 @@ public class DatasetGraphTransaction ext
{
/* Initially, the app can use this DatasetGraph non-transactionally.
* But as soon as it starts a transaction, the dataset can only be used
- * inside transactions.
+ * inside transactions.
+ *
+ * There are two per-thread state variables:
+ * txn: ThreadLocalTxn -- the transactional , one time use dataset
+ * isInTransactionB: ThreadLocalBoolean -- flags true between begin and commit/abort, and end for read transactions.
*/
-
-
- // Two per-thread state variables:
- // txn: ThreadLocalTxn -- the transactional , one time use dataset
- // isInTransactionB: ThreadLocalBoolean -- flags true between begin and commit/abort, and end for read transactions.
static class ThreadLocalTxn extends ThreadLocal<DatasetGraphTxn>
{