Revision: 1335
Author: mathiasbr
Date: 2006-08-22 13:23:04 -0700 (Tue, 22 Aug 2006)
ViewCVS: http://svn.sourceforge.net/spring-rich-c/?rev=1335&view=rev
Log Message:
-----------
make it compatible with spring 2
Modified Paths:
--------------
trunk/spring-richclient/support/src/main/java/org/springframework/binding/value/support/BufferedCollectionValueModel.java
Modified:
trunk/spring-richclient/support/src/main/java/org/springframework/binding/value/support/BufferedCollectionValueModel.java
===================================================================
---
trunk/spring-richclient/support/src/main/java/org/springframework/binding/value/support/BufferedCollectionValueModel.java
2006-08-22 19:20:25 UTC (rev 1334)
+++
trunk/spring-richclient/support/src/main/java/org/springframework/binding/value/support/BufferedCollectionValueModel.java
2006-08-22 20:23:04 UTC (rev 1335)
@@ -34,6 +34,7 @@
import org.springframework.beans.BeanUtils;
import org.springframework.beans.FatalBeanException;
import org.springframework.binding.value.ValueModel;
+import org.springframework.richclient.util.ClassUtils;
import org.springframework.util.Assert;
/**
@@ -121,7 +122,7 @@
public static Class getConcreteCollectionType(Class wrappedType) {
Class class2Create;
if (wrappedType.isArray()) {
- if (BeanUtils.isPrimitiveArray(wrappedType)) {
+ if (ClassUtils.isPrimitiveArray(wrappedType)) {
throw new IllegalArgumentException("wrappedType can not be an
array of primitive types");
}
class2Create = wrappedType;
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