Revision: 1165
Author:   lstreepy
Date:     2006-05-17 07:49:43 -0700 (Wed, 17 May 2006)
ViewCVS:  http://svn.sourceforge.net/spring-rich-c/?rev=1165&view=rev

Log Message:
-----------
Fix NPE if the binders for property names is never set.

Modified Paths:
--------------
    
trunk/spring-richclient/support/src/main/java/org/springframework/richclient/form/binding/support/AbstractBinderSelectionStrategy.java
Modified: 
trunk/spring-richclient/support/src/main/java/org/springframework/richclient/form/binding/support/AbstractBinderSelectionStrategy.java
===================================================================
--- 
trunk/spring-richclient/support/src/main/java/org/springframework/richclient/form/binding/support/AbstractBinderSelectionStrategy.java
      2006-05-17 14:31:56 UTC (rev 1164)
+++ 
trunk/spring-richclient/support/src/main/java/org/springframework/richclient/form/binding/support/AbstractBinderSelectionStrategy.java
      2006-05-17 14:49:43 UTC (rev 1165)
@@ -15,6 +15,7 @@
  */
 package org.springframework.richclient.form.binding.support;
 
+import java.util.ArrayList;
 import java.util.HashMap;
 import java.util.Iterator;
 import java.util.List;
@@ -51,7 +52,7 @@
 
     private final Map propertyNameBinders = new HashMap();
     
-    private List bindersForPropertyNames;
+    private List bindersForPropertyNames = new ArrayList();
     
     private ApplicationContext applicationContext;
 


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.



-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
spring-rich-c-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/spring-rich-c-cvs

Reply via email to