jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ang...@apache.org
Subject svn commit: r899594 - /jackrabbit/trunk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/version/VersionManagerImpl.java
Date Fri, 15 Jan 2010 11:06:10 GMT
Author: angela
Date: Fri Jan 15 11:06:09 2010
New Revision: 899594

URL: http://svn.apache.org/viewvc?rev=899594&view=rev
Log:
JCR-2466 - jcr2spi: versionmanager#checkout(NodeState) should not forward to checkout(NodeState,
NodeId)

Modified:
    jackrabbit/trunk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/version/VersionManagerImpl.java

Modified: jackrabbit/trunk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/version/VersionManagerImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/version/VersionManagerImpl.java?rev=899594&r1=899593&r2=899594&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/version/VersionManagerImpl.java
(original)
+++ jackrabbit/trunk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/version/VersionManagerImpl.java
Fri Jan 15 11:06:09 2010
@@ -71,7 +71,8 @@
     }
 
     public void checkout(NodeState nodeState) throws RepositoryException {
-        checkout(nodeState, null);
+        Operation co = Checkout.create(nodeState, this);
+        workspaceManager.execute(co);
     }
 
     public void checkout(NodeState nodeState, NodeId activityId) throws RepositoryException
{



Mime
View raw message