directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pamarce...@apache.org
Subject svn commit: r1084253 - /directory/apacheds/trunk/server-config/src/main/java/org/apache/directory/server/config/ConfigPartitionReader.java
Date Tue, 22 Mar 2011 17:00:30 GMT
Author: pamarcelot
Date: Tue Mar 22 17:00:30 2011
New Revision: 1084253

URL: http://svn.apache.org/viewvc?rev=1084253&view=rev
Log:
Used the variable created above and used anywhere else.

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

Modified: directory/apacheds/trunk/server-config/src/main/java/org/apache/directory/server/config/ConfigPartitionReader.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/server-config/src/main/java/org/apache/directory/server/config/ConfigPartitionReader.java?rev=1084253&r1=1084252&r2=1084253&view=diff
==============================================================================
--- directory/apacheds/trunk/server-config/src/main/java/org/apache/directory/server/config/ConfigPartitionReader.java
(original)
+++ directory/apacheds/trunk/server-config/src/main/java/org/apache/directory/server/config/ConfigPartitionReader.java
Tue Mar 22 17:00:30 2011
@@ -364,7 +364,7 @@ public class ConfigPartitionReader
             {
                 if ( type == String.class )
                 {
-                    beanField.set( bean, value.getString() );
+                    beanField.set( bean, valueStr );
                 }
                 else if ( type == int.class )
                 {
@@ -775,7 +775,7 @@ public class ConfigPartitionReader
                 Set<AttributeType> musts = getAllMusts( objectClass );
                 LOG.debug( "Fetching the following MAY attributes : {}", dumpATs( musts )
);
                 readFields( bean, entry, musts, MANDATORY );
-                
+
                 bean.setDn( entry.getDn() );
 
                 // Done, we can add the bean into the list



Mime
View raw message