commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1233600 - /commons/sandbox/beanutils2/trunk/src/main/java/org/apache/commons/beanutils2/BeanUtils.java
Date Thu, 19 Jan 2012 22:14:59 GMT
Author: simonetripodi
Date: Thu Jan 19 22:14:59 2012
New Revision: 1233600

URL: http://svn.apache.org/viewvc?rev=1233600&view=rev
Log:
returns the bean accessor for the given bean

Modified:
    commons/sandbox/beanutils2/trunk/src/main/java/org/apache/commons/beanutils2/BeanUtils.java

Modified: commons/sandbox/beanutils2/trunk/src/main/java/org/apache/commons/beanutils2/BeanUtils.java
URL: http://svn.apache.org/viewvc/commons/sandbox/beanutils2/trunk/src/main/java/org/apache/commons/beanutils2/BeanUtils.java?rev=1233600&r1=1233599&r2=1233600&view=diff
==============================================================================
--- commons/sandbox/beanutils2/trunk/src/main/java/org/apache/commons/beanutils2/BeanUtils.java
(original)
+++ commons/sandbox/beanutils2/trunk/src/main/java/org/apache/commons/beanutils2/BeanUtils.java
Thu Jan 19 22:14:59 2012
@@ -28,7 +28,7 @@ public final class BeanUtils
     {
         bean = checkNotNull( bean, "No bean specified" );
 
-        return null;
+        return new DefaultBeanAccessor<B>( bean );
     }
 
     // introspection stuff



Mime
View raw message