commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1234544 - /commons/sandbox/beanutils2/trunk/src/main/java/org/apache/commons/beanutils2/DefaultClassAccessor.java
Date Sun, 22 Jan 2012 16:31:15 GMT
Author: simonetripodi
Date: Sun Jan 22 16:31:14 2012
New Revision: 1234544

URL: http://svn.apache.org/viewvc?rev=1234544&view=rev
Log:
linked static methods invocation

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

Modified: commons/sandbox/beanutils2/trunk/src/main/java/org/apache/commons/beanutils2/DefaultClassAccessor.java
URL: http://svn.apache.org/viewvc/commons/sandbox/beanutils2/trunk/src/main/java/org/apache/commons/beanutils2/DefaultClassAccessor.java?rev=1234544&r1=1234543&r2=1234544&view=diff
==============================================================================
--- commons/sandbox/beanutils2/trunk/src/main/java/org/apache/commons/beanutils2/DefaultClassAccessor.java
(original)
+++ commons/sandbox/beanutils2/trunk/src/main/java/org/apache/commons/beanutils2/DefaultClassAccessor.java
Sun Jan 22 16:31:14 2012
@@ -119,7 +119,7 @@ final class DefaultClassAccessor<B>
     public ArgumentsAccessor invokeStaticMethod( String methodName )
     {
         methodName = checkNotNull( methodName, "Impossible to execute null static method
in %s", beanClass.getName() );
-        return null;
+        return new DefaultArgumentsAccessor( beanClass, false, methodName, null );
     }
 
     /**
@@ -128,7 +128,7 @@ final class DefaultClassAccessor<B>
     public ArgumentsAccessor invokeExactStaticMethod( String methodName )
     {
         methodName = checkNotNull( methodName, "Impossible to execute null static method
in %s", beanClass.getName() );
-        return null;
+        return new DefaultArgumentsAccessor( beanClass, true, methodName, null );
     }
 
 }



Mime
View raw message