directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pamarce...@apache.org
Subject svn commit: r693476 - /directory/studio/trunk/studio-dsml-parser/src/main/java/org/apache/directory/studio/dsmlv2/reponse/SearchResponseDsml.java
Date Tue, 09 Sep 2008 14:43:48 GMT
Author: pamarcelot
Date: Tue Sep  9 07:43:48 2008
New Revision: 693476

URL: http://svn.apache.org/viewvc?rev=693476&view=rev
Log:
Fixed a NPE, the list was never created.

Modified:
    directory/studio/trunk/studio-dsml-parser/src/main/java/org/apache/directory/studio/dsmlv2/reponse/SearchResponseDsml.java

Modified: directory/studio/trunk/studio-dsml-parser/src/main/java/org/apache/directory/studio/dsmlv2/reponse/SearchResponseDsml.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/studio-dsml-parser/src/main/java/org/apache/directory/studio/dsmlv2/reponse/SearchResponseDsml.java?rev=693476&r1=693475&r2=693476&view=diff
==============================================================================
--- directory/studio/trunk/studio-dsml-parser/src/main/java/org/apache/directory/studio/dsmlv2/reponse/SearchResponseDsml.java
(original)
+++ directory/studio/trunk/studio-dsml-parser/src/main/java/org/apache/directory/studio/dsmlv2/reponse/SearchResponseDsml.java
Tue Sep  9 07:43:48 2008
@@ -20,6 +20,7 @@
 package org.apache.directory.studio.dsmlv2.reponse;
 
 
+import java.util.ArrayList;
 import java.util.List;
 
 import org.apache.directory.shared.ldap.codec.LdapMessage;
@@ -38,7 +39,7 @@
 public class SearchResponseDsml extends LdapResponseDecorator implements DsmlDecorator
 {
     /** The responses */
-    private List<DsmlDecorator> responses;
+    private List<DsmlDecorator> responses = new ArrayList<DsmlDecorator>();
 
 
     /**



Mime
View raw message