directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pamarce...@apache.org
Subject svn commit: r656155 - /directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/ServerXmlV152IO.java
Date Wed, 14 May 2008 08:44:45 GMT
Author: pamarcelot
Date: Wed May 14 01:44:45 2008
New Revision: 656155

URL: http://svn.apache.org/viewvc?rev=656155&view=rev
Log:
Fixed a bug in the hierarchy of the partition tags and the name of the 'saslRealms' tag.

Modified:
    directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/ServerXmlV152IO.java

Modified: directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/ServerXmlV152IO.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/ServerXmlV152IO.java?rev=656155&r1=656154&r2=656155&view=diff
==============================================================================
--- directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/ServerXmlV152IO.java
(original)
+++ directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/ServerXmlV152IO.java
Wed May 14 01:44:45 2008
@@ -1021,10 +1021,10 @@
         jdbmPartitionElement.addAttribute( "synchOnWrite", "" + partition.isSynchronizationOnWrite()
);
 
         // IndexedAttributes
-        createIndexedAttributes( element, partition.getIndexedAttributes() );
+        createIndexedAttributes( jdbmPartitionElement, partition.getIndexedAttributes() );
 
         // ContextEntry
-        createContextEntry( element, partition.getContextEntry(), partition.getId(), partition.getSuffix()
);
+        createContextEntry( jdbmPartitionElement, partition.getContextEntry(), partition.getId(),
partition.getSuffix() );
     }
 
 
@@ -1365,13 +1365,13 @@
             saslQopElement.addElement( new QName( "value", NAMESPACE_SPRINGFRAMEWORK ) ).setText(
saslQop );
         }
 
-        // Adding 'SaslRealm' element
-        Element saslRealmElement = root.addElement( "saslRealm" );
+        // Adding 'SaslRealms' element
+        Element saslRealmsElement = root.addElement( "saslRealms" );
 
         // Adding each SaslRealm item
         for ( String saslRealm : serverConfiguration.getSaslRealms() )
         {
-            saslRealmElement.addElement( new QName( "value", NAMESPACE_SPRINGFRAMEWORK )
).setText( saslRealm );
+            saslRealmsElement.addElement( new QName( "value", NAMESPACE_SPRINGFRAMEWORK )
).setText( saslRealm );
         }
     }
 



Mime
View raw message