jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alexparvule...@apache.org
Subject svn commit: r1478351 - /jackrabbit/oak/trunk/oak-core/src/test/java/org/apache/jackrabbit/oak/AbstractSecurityTest.java
Date Thu, 02 May 2013 12:50:14 GMT
Author: alexparvulescu
Date: Thu May  2 12:50:14 2013
New Revision: 1478351

URL: http://svn.apache.org/r1478351
Log:
OAK-734 Refactor indexing code to use Editors - null guard

Modified:
    jackrabbit/oak/trunk/oak-core/src/test/java/org/apache/jackrabbit/oak/AbstractSecurityTest.java

Modified: jackrabbit/oak/trunk/oak-core/src/test/java/org/apache/jackrabbit/oak/AbstractSecurityTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/test/java/org/apache/jackrabbit/oak/AbstractSecurityTest.java?rev=1478351&r1=1478350&r2=1478351&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/test/java/org/apache/jackrabbit/oak/AbstractSecurityTest.java
(original)
+++ jackrabbit/oak/trunk/oak-core/src/test/java/org/apache/jackrabbit/oak/AbstractSecurityTest.java
Thu May  2 12:50:14 2013
@@ -90,7 +90,9 @@ public abstract class AbstractSecurityTe
                 root.commit();
             }
         } finally {
-            adminSession.close();
+            if (adminSession != null) {
+                adminSession.close();
+            }
             Configuration.setConfiguration(null);
         }
     }



Mime
View raw message