jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ju...@apache.org
Subject svn commit: r475683 - /jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/version/AbstractVersionManager.java
Date Thu, 16 Nov 2006 11:14:27 GMT
Author: jukka
Date: Thu Nov 16 03:14:24 2006
New Revision: 475683

URL: http://svn.apache.org/viewvc?view=rev&rev=475683
Log:
JCR-632: Applied patch from Przemo Pakulski.

Modified:
    jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/version/AbstractVersionManager.java

Modified: jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/version/AbstractVersionManager.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/version/AbstractVersionManager.java?view=diff&rev=475683&r1=475682&r2=475683
==============================================================================
--- jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/version/AbstractVersionManager.java
(original)
+++ jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/version/AbstractVersionManager.java
Thu Nov 16 03:14:24 2006
@@ -337,8 +337,9 @@
 
             stateMgr.edit();
         } catch (IllegalStateException e) {
-            releaseReadLock();
             throw new RepositoryException("Unable to start edit operation.");
+        } finally {
+            releaseReadLock();
         }
 
         boolean succeeded = false;



Mime
View raw message