summaryrefslogtreecommitdiff
path: root/libjava/gnu/java/beans
diff options
context:
space:
mode:
authormkoch <mkoch@138bc75d-0d04-0410-961f-82ee72b054a4>2003-10-29 15:22:01 +0000
committermkoch <mkoch@138bc75d-0d04-0410-961f-82ee72b054a4>2003-10-29 15:22:01 +0000
commitd3a08b0c6c4ebe3d668cb88ec5878964e78cf2a8 (patch)
tree4e861674f83809f7309dbcdf9ec2e3e3b939d7fa /libjava/gnu/java/beans
parenta6a69f52b49f74e7787a6b05e609eb0e28753b44 (diff)
downloadgcc-d3a08b0c6c4ebe3d668cb88ec5878964e78cf2a8.tar.gz
2003-10-29 Dalibor Topic <robilad@kaffe.org>
* gnu/java/beans/IntrospectionIncubator.java (addMethod): Add public static methods. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73043 138bc75d-0d04-0410-961f-82ee72b054a4
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();