You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by pa...@apache.org on 2008/05/14 10:44:45 UTC
svn commit: r656155 -
/directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/ServerXmlV152IO.java
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 );
}
}