2005-02-21 Robert Schuster <theBohemian@gmx.net>
authorRobert Schuster <thebohemian@gmx.net>
Mon, 21 Feb 2005 22:40:35 +0000 (22:40 +0000)
committerMichael Koch <mkoch@gcc.gnu.org>
Mon, 21 Feb 2005 22:40:35 +0000 (22:40 +0000)
* gnu/java/beans/IntrospectionIncubator.java
(addMethod) Reverts the patch that ntroduced a regression (see bug
https://savannah.gnu.org/bugs/?func=detailitem&item_id=10938).

From-SVN: r95355

libjava/ChangeLog
libjava/gnu/java/beans/IntrospectionIncubator.java

index a9025c304c4d03c98e4aa347eb047a981f52137b..f68958113f8c591f71e73ff8cfdfff1f6c72a384 100644 (file)
@@ -1,3 +1,9 @@
+2005-02-21  Robert Schuster  <theBohemian@gmx.net>
+
+       * gnu/java/beans/IntrospectionIncubator.java
+       (addMethod) Reverts the patch that ntroduced a regression (see bug
+       https://savannah.gnu.org/bugs/?func=detailitem&item_id=10938).
+
 2005-02-21  Michael Koch  <konqueror@gmx.de>
 
        * java/awt/Checkbox.java
index ac08f7ae5cd26dfc18cb94aaf49a252ef97f0d9b..21bf984d24c96bed4de1a6c471dd42b2197f5c45 100644 (file)
@@ -99,8 +99,7 @@ public class IntrospectionIncubator {
         * @param method The method instance to examine.
         */
        public void addMethod(Method method) {
-               if(Modifier.isPublic(method.getModifiers()) &&
-                       !Modifier.isStatic(method.getModifiers())) {
+               if(Modifier.isPublic(method.getModifiers())) {
                        String name = ClassHelper.getTruncatedName(method.getName());
                        Class retType = method.getReturnType();
                        Class[] params = method.getParameterTypes();