geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From djen...@apache.org
Subject svn commit: r411680 - /geronimo/trunk/modules/kernel/src/java/org/apache/geronimo/gbean/GBeanInfo.java
Date Mon, 05 Jun 2006 05:46:51 GMT
Author: djencks
Date: Sun Jun  4 22:46:51 2006
New Revision: 411680

URL: http://svn.apache.org/viewvc?rev=411680&view=rev
Log:
Port of rev 370955, Spec recommends using null as parameter for a static method

Modified:
    geronimo/trunk/modules/kernel/src/java/org/apache/geronimo/gbean/GBeanInfo.java

Modified: geronimo/trunk/modules/kernel/src/java/org/apache/geronimo/gbean/GBeanInfo.java
URL: http://svn.apache.org/viewvc/geronimo/trunk/modules/kernel/src/java/org/apache/geronimo/gbean/GBeanInfo.java?rev=411680&r1=411679&r2=411680&view=diff
==============================================================================
--- geronimo/trunk/modules/kernel/src/java/org/apache/geronimo/gbean/GBeanInfo.java (original)
+++ geronimo/trunk/modules/kernel/src/java/org/apache/geronimo/gbean/GBeanInfo.java Sun Jun
 4 22:46:51 2006
@@ -67,7 +67,7 @@
             throw new InvalidConfigurationException("Could not find getGBeanInfo method on
" + className, e);
         }
         try {
-            return (GBeanInfo) method.invoke(clazz, new Object[]{});
+            return (GBeanInfo) method.invoke(null, new Object[]{});
         } catch (Exception e) {
             throw new InvalidConfigurationException("Could not get GBeanInfo from class:
" + className, e);
         }



Mime
View raw message