directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1133849 - /directory/apacheds/trunk/test-framework/src/main/java/org/apache/directory/server/core/integ/FrameworkSuite.java
Date Thu, 09 Jun 2011 12:58:03 GMT
Author: elecharny
Date: Thu Jun  9 12:58:03 2011
New Revision: 1133849

URL: http://svn.apache.org/viewvc?rev=1133849&view=rev
Log:
Removed the useless addPartition() method from the FrameworkSuite class. It's useless.

Modified:
    directory/apacheds/trunk/test-framework/src/main/java/org/apache/directory/server/core/integ/FrameworkSuite.java

Modified: directory/apacheds/trunk/test-framework/src/main/java/org/apache/directory/server/core/integ/FrameworkSuite.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/test-framework/src/main/java/org/apache/directory/server/core/integ/FrameworkSuite.java?rev=1133849&r1=1133848&r2=1133849&view=diff
==============================================================================
--- directory/apacheds/trunk/test-framework/src/main/java/org/apache/directory/server/core/integ/FrameworkSuite.java
(original)
+++ directory/apacheds/trunk/test-framework/src/main/java/org/apache/directory/server/core/integ/FrameworkSuite.java
Thu Jun  9 12:58:03 2011
@@ -22,7 +22,6 @@ package org.apache.directory.server.core
 import org.apache.commons.io.FileUtils;
 import org.apache.directory.server.annotations.CreateLdapServer;
 import org.apache.directory.server.core.DirectoryService;
-import org.apache.directory.server.core.annotations.CreatePartition;
 import org.apache.directory.server.core.factory.DSAnnotationProcessor;
 import org.apache.directory.server.core.factory.DefaultDirectoryServiceFactory;
 import org.apache.directory.server.core.factory.PartitionFactory;
@@ -138,17 +137,6 @@ public class FrameworkSuite extends Suit
             }
         }
     }
-    
-    
-    private void addPartitions( Description description )
-    {
-        CreatePartition createPartition = description.getAnnotation( CreatePartition.class
);
-        
-        if ( createPartition != null )
-        {
-            // TODO we should have something done here !
-        }
-    }
 
     
     private void startLdapServer( Description description ) throws Exception
@@ -181,9 +169,6 @@ public class FrameworkSuite extends Suit
             // Create and initialize the Suite DS
             startDS( getDescription() );
             
-            // Add the partitions to this DS
-            addPartitions( getDescription() );
-            
             // create and initialize the suite LdapServer
             startLdapServer( getDescription() );
             



Mime
View raw message