directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1088636 - /directory/apacheds/trunk/server-config/src/main/java/org/apache/directory/server/config/beans/LdapServerBean.java
Date Mon, 04 Apr 2011 14:28:46 GMT
Author: elecharny
Date: Mon Apr  4 14:28:45 2011
New Revision: 1088636

URL: http://svn.apache.org/viewvc?rev=1088636&view=rev
Log:
Fixed a NPE : the replConsumer list was not initialized

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

Modified: directory/apacheds/trunk/server-config/src/main/java/org/apache/directory/server/config/beans/LdapServerBean.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/server-config/src/main/java/org/apache/directory/server/config/beans/LdapServerBean.java?rev=1088636&r1=1088635&r2=1088636&view=diff
==============================================================================
--- directory/apacheds/trunk/server-config/src/main/java/org/apache/directory/server/config/beans/LdapServerBean.java
(original)
+++ directory/apacheds/trunk/server-config/src/main/java/org/apache/directory/server/config/beans/LdapServerBean.java
Mon Apr  4 14:28:45 2011
@@ -71,7 +71,7 @@ public class LdapServerBean extends DSBa
 
     /** The replication consumer Bean */
     @ConfigurationElement(attributeType = "ads-replConsumers", container = "replConsumers")
-    private List<ReplConsumerBean> replConsumers;
+    private List<ReplConsumerBean> replConsumers = new ArrayList<ReplConsumerBean>();
 
     /** The replication producer Bean */
     @ConfigurationElement



Mime
View raw message