jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ju...@apache.org
Subject svn commit: r390806 - /jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/TestRepository.java
Date Sun, 02 Apr 2006 10:39:52 GMT
Author: jukka
Date: Sun Apr  2 03:39:49 2006
New Revision: 390806

URL: http://svn.apache.org/viewcvs?rev=390806&view=rev
Log:
JCR-368: RepositoryHelper.superuserCredentials is only available after .repository has been
initialized.

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

Modified: jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/TestRepository.java
URL: http://svn.apache.org/viewcvs/jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/TestRepository.java?rev=390806&r1=390805&r2=390806&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/TestRepository.java
(original)
+++ jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/TestRepository.java
Sun Apr  2 03:39:49 2006
@@ -119,10 +119,10 @@
         Class test =
             Class.forName("org.apache.jackrabbit.test.AbstractJCRTest");
         Map helper = new BeanMap(test.getField("helper").get(null));
-        final Credentials superuser =
-            (Credentials) helper.get("superuserCredentials");
         final Repository repository =
             (Repository) helper.get("repository");
+        final Credentials superuser =
+            (Credentials) helper.get("superuserCredentials");
         return new Repository() {
 
             public String[] getDescriptorKeys() {



Mime
View raw message