jackrabbit-commits mailing list archives

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

URL: http://svn.apache.org/viewvc?view=rev&rev=475688
Log:
JCR-632: Reverted revision 475683.

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=475688&r1=475687&r2=475688
==============================================================================
--- 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:26:59 2006
@@ -337,9 +337,8 @@
 
             stateMgr.edit();
         } catch (IllegalStateException e) {
-            throw new RepositoryException("Unable to start edit operation.");
-        } finally {
             releaseReadLock();
+            throw new RepositoryException("Unable to start edit operation.");
         }
 
         boolean succeeded = false;



Mime
View raw message