summaryrefslogtreecommitdiff
path: root/libjava/gnu/java/beans
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/gnu/java/beans')
-rw-r--r--libjava/gnu/java/beans/IntrospectionIncubator.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/libjava/gnu/java/beans/IntrospectionIncubator.java b/libjava/gnu/java/beans/IntrospectionIncubator.java
index c853fd7d7af..1b853971aa4 100644
--- a/libjava/gnu/java/beans/IntrospectionIncubator.java
+++ b/libjava/gnu/java/beans/IntrospectionIncubator.java
@@ -67,7 +67,7 @@ public class IntrospectionIncubator {
/* Paving the way for automatic Introspection */
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();