directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pamarce...@apache.org
Subject svn commit: r656173 - /directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/ServerXmlV152IO.java
Date Wed, 14 May 2008 09:20:37 GMT
Author: pamarcelot
Date: Wed May 14 02:20:37 2008
New Revision: 656173

URL: http://svn.apache.org/viewvc?rev=656173&view=rev
Log:
Fixed a typo bug on the name of the 'syncOnWrite' attribute.

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=656173&r1=656172&r2=656173&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 02:20:37 2008
@@ -317,17 +317,17 @@
             partition.setEnableOptimizer( parseBoolean( optimizerEnabledAttribute.getValue()
) );
         }
 
-        // Synch On Write
-        org.dom4j.Attribute synchOnWriteAttribute = element.attribute( "synchOnWrite" );
-        if ( synchOnWriteAttribute == null )
+        // Sync On Write
+        org.dom4j.Attribute syncOnWriteAttribute = element.attribute( "syncOnWrite" );
+        if ( syncOnWriteAttribute == null )
         {
             // If the 'synchOnWrite' attribute does not exists,
             // we throw an exception
-            throw new ServerXmlIOException( "Unable to find the 'synchOnWrite' attribute
for a partition." );
+            throw new ServerXmlIOException( "Unable to find the 'syncOnWrite' attribute for
a partition." );
         }
         else
         {
-            partition.setSynchronizationOnWrite( parseBoolean( synchOnWriteAttribute.getValue()
) );
+            partition.setSynchronizationOnWrite( parseBoolean( syncOnWriteAttribute.getValue()
) );
         }
 
         // Indexed attributes



Mime
View raw message