You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by el...@apache.org on 2015/06/22 10:49:03 UTC

svn commit: r1686815 - /directory/studio/trunk/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/OlcGlobal.java

Author: elecharny
Date: Mon Jun 22 08:49:02 2015
New Revision: 1686815

URL: http://svn.apache.org/r1686815
Log:
The olcRootDSE is changed to be a SV instead of a MV

Modified:
    directory/studio/trunk/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/OlcGlobal.java

Modified: directory/studio/trunk/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/OlcGlobal.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/OlcGlobal.java?rev=1686815&r1=1686814&r2=1686815&view=diff
==============================================================================
--- directory/studio/trunk/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/OlcGlobal.java (original)
+++ directory/studio/trunk/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/OlcGlobal.java Mon Jun 22 08:49:02 2015
@@ -287,7 +287,7 @@ public class OlcGlobal extends OlcConfig
      * Field for the 'olcRootDSE' attribute.
      */
     @ConfigurationElement(attributeType = "olcRootDSE")
-    private List<String> olcRootDSE = new ArrayList<String>();
+    private String olcRootDSE;
 
     /**
      * Field for the 'olcSaslAuxprops' attribute.
@@ -647,18 +647,6 @@ public class OlcGlobal extends OlcConfig
     /**
      * @param strings
      */
-    public void addOlcRootDSE( String... strings )
-    {
-        for ( String string : strings )
-        {
-            olcRootDSE.add( string );
-        }
-    }
-
-
-    /**
-     * @param strings
-     */
     public void addOlcSecurity( String... strings )
     {
         for ( String string : strings )
@@ -794,12 +782,6 @@ public class OlcGlobal extends OlcConfig
     }
 
 
-    public void clearOlcRootDSE()
-    {
-        olcRootDSE.clear();
-    }
-
-
     public void clearOlcSecurity()
     {
         olcSecurity.clear();
@@ -1187,9 +1169,9 @@ public class OlcGlobal extends OlcConfig
     /**
      * @return the olcRootDSE
      */
-    public List<String> getOlcRootDSE()
+    public String getOlcRootDSE()
     {
-        return copyListString( olcRootDSE );
+        return olcRootDSE;
     }
 
 
@@ -1817,9 +1799,9 @@ public class OlcGlobal extends OlcConfig
     /**
      * @param olcRootDSE the olcRootDSE to set
      */
-    public void setOlcRootDSE( List<String> olcRootDSE )
+    public void setOlcRootDSE( String olcRootDSE )
     {
-        this.olcRootDSE = copyListString( olcRootDSE );
+        this.olcRootDSE = olcRootDSE;
     }