jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ju...@apache.org
Subject svn commit: r710047 - /jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/XASessionImpl.java
Date Mon, 03 Nov 2008 12:48:55 GMT
Author: jukka
Date: Mon Nov  3 04:48:55 2008
New Revision: 710047

URL: http://svn.apache.org/viewvc?rev=710047&view=rev
Log:
JCR-1775: Transaction-safe versioning

Correct ordering of versioning operations in XA transactions.

Modified:
    jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/XASessionImpl.java

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/XASessionImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/XASessionImpl.java?rev=710047&r1=710046&r2=710047&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/XASessionImpl.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/XASessionImpl.java
Mon Nov  3 04:48:55 2008
@@ -128,7 +128,7 @@
         XAVersionManager versionMgr = (XAVersionManager) getVersionManager();
 
         /**
-         * Create array that contains all resources that paricipate in this
+         * Create array that contains all resources that participate in this
          * transactions. Some resources depend on each other, therefore you
          * should only change the sequence if you know what you are doing!
          *
@@ -137,12 +137,12 @@
          * acquires the write lock on the version manager in its prepare method,
          * while the end resource releases the write lock in either commit or
          * rollback. Please note that the write lock is only acquired if there
-         * is someting to commit by the version manager.
+         * is something to commit by the version manager.
          * For further information see JCR-335 and JCR-962.
          */
         txResources = new InternalXAResource[] {
             versionMgr.getXAResourceBegin(),
-            stateMgr, lockMgr, versionMgr,
+            versionMgr, stateMgr, lockMgr,
             versionMgr.getXAResourceEnd()
         };
         stateMgr.setVirtualProvider(versionMgr);



Mime
View raw message