directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pamarce...@apache.org
Subject svn commit: r1150579 - /directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/jobs/LoadConfigurationRunnable.java
Date Mon, 25 Jul 2011 08:40:15 GMT
Author: pamarcelot
Date: Mon Jul 25 08:40:14 2011
New Revision: 1150579

URL: http://svn.apache.org/viewvc?rev=1150579&view=rev
Log:
Fixed compilation failure with removed setContextEntry() method.

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=1150579&r1=1150578&r2=1150579&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
Mon Jul 25 08:40:14 2011
@@ -319,22 +319,12 @@ public class LoadConfigurationRunnable i
             List<Entry> entries = new ArrayList<Entry>();
             entries.add( configEntry );
 
-            // Flag used to determine if the current entry is the context entry
-            boolean isContextEntry = true;
-
             // Looping on the entries list until it's empty
             while ( !entries.isEmpty() )
             {
                 // Removing the first entry from the list
                 Entry entry = entries.remove( 0 );
 
-                // Special handling for the context entry
-                if ( isContextEntry )
-                {
-                    // Setting the context entry of the partition
-                    configurationPartition.setContextEntry( entry );
-                    isContextEntry = false;
-                }
 
                 // Adding the entry to the partition
                 configurationPartition.addEntry( entry );



Mime
View raw message