directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pamarce...@apache.org
Subject svn commit: r1523612 - /directory/apacheds/trunk/server-config/src/main/java/org/apache/directory/server/config/beans/DirectoryServiceBean.java
Date Mon, 16 Sep 2013 12:46:19 GMT
Author: pamarcelot
Date: Mon Sep 16 12:46:18 2013
New Revision: 1523612

URL: http://svn.apache.org/r1523612
Log:
Added missing method to clear the list of partitions.

Modified:
    directory/apacheds/trunk/server-config/src/main/java/org/apache/directory/server/config/beans/DirectoryServiceBean.java

Modified: directory/apacheds/trunk/server-config/src/main/java/org/apache/directory/server/config/beans/DirectoryServiceBean.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/server-config/src/main/java/org/apache/directory/server/config/beans/DirectoryServiceBean.java?rev=1523612&r1=1523611&r2=1523612&view=diff
==============================================================================
--- directory/apacheds/trunk/server-config/src/main/java/org/apache/directory/server/config/beans/DirectoryServiceBean.java
(original)
+++ directory/apacheds/trunk/server-config/src/main/java/org/apache/directory/server/config/beans/DirectoryServiceBean.java
Mon Sep 16 12:46:18 2013
@@ -67,11 +67,11 @@ public class DirectoryServiceBean extend
     private String dsTestEntries;
 
     /** The ChangeLog component */
-    @ConfigurationElement( objectClass= "ads-changelog")
+    @ConfigurationElement(objectClass = "ads-changelog")
     private ChangeLogBean changeLog;
 
     /** The journal component */
-    @ConfigurationElement( objectClass= "ads-journal")
+    @ConfigurationElement(objectClass = "ads-journal")
     private JournalBean journal;
 
     /** The servers */
@@ -320,6 +320,15 @@ public class DirectoryServiceBean extend
 
 
     /**
+     * Clears the partitions.
+     */
+    public void clearPartitions()
+    {
+        partitions.clear();
+    }
+
+
+    /**
      * @return the partitions
      */
     public List<PartitionBean> getPartitions()



Mime
View raw message