directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kayyag...@apache.org
Subject svn commit: r1035519 - /directory/apacheds/trunk/server-config/src/main/java/org/apache/directory/server/config/beans/PartitionBean.java
Date Tue, 16 Nov 2010 03:08:05 GMT
Author: kayyagari
Date: Tue Nov 16 03:08:04 2010
New Revision: 1035519

URL: http://svn.apache.org/viewvc?rev=1035519&view=rev
Log:
o fixed a NPE

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

Modified: directory/apacheds/trunk/server-config/src/main/java/org/apache/directory/server/config/beans/PartitionBean.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/server-config/src/main/java/org/apache/directory/server/config/beans/PartitionBean.java?rev=1035519&r1=1035518&r2=1035519&view=diff
==============================================================================
--- directory/apacheds/trunk/server-config/src/main/java/org/apache/directory/server/config/beans/PartitionBean.java
(original)
+++ directory/apacheds/trunk/server-config/src/main/java/org/apache/directory/server/config/beans/PartitionBean.java
Tue Nov 16 03:08:04 2010
@@ -19,6 +19,7 @@
  */
 package org.apache.directory.server.config.beans;
 
+import java.util.ArrayList;
 import java.util.List;
 
 import org.apache.directory.shared.ldap.name.DN;
@@ -40,7 +41,7 @@ public abstract class PartitionBean exte
     private boolean partitionSyncOnWrite;
 
     /** The list of declared indexes */
-    private List<IndexBean> indexes;
+    private List<IndexBean> indexes = new ArrayList<IndexBean>();
     
     /** The partition's ContextEntry */
     private String contextEntry;



Mime
View raw message