directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pamarce...@apache.org
Subject svn commit: r1058598 - /directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/jobs/LoadConfigurationRunnable.java
Date Thu, 13 Jan 2011 15:07:29 GMT
Author: pamarcelot
Date: Thu Jan 13 15:07:28 2011
New Revision: 1058598

URL: http://svn.apache.org/viewvc?rev=1058598&view=rev
Log:
The configuration was not read from the correct input stream.

Modified:
    directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/jobs/LoadConfigurationRunnable.java

Modified: directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/jobs/LoadConfigurationRunnable.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/jobs/LoadConfigurationRunnable.java?rev=1058598&r1=1058597&r2=1058598&view=diff
==============================================================================
--- directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/jobs/LoadConfigurationRunnable.java
(original)
+++ directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/jobs/LoadConfigurationRunnable.java
Thu Jan 13 15:07:28 2011
@@ -217,8 +217,8 @@ public class LoadConfigurationRunnable i
         if ( is != null )
         {
             // Creating a partition associated from the input stream
-            ReadOnlyConfigurationPartition configurationPartition = new ReadOnlyConfigurationPartition(
-                ApacheDS2ConfigurationPlugin.class.getResourceAsStream( "config.ldif" ),
schemaManager );
+            ReadOnlyConfigurationPartition configurationPartition = new ReadOnlyConfigurationPartition(
is,
+                schemaManager );
             configurationPartition.initialize();
 
             // Reading the configuration partition



Mime
View raw message