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).

From-SVN: r95355
This commit is contained in:
Robert Schuster 2005-02-21 22:40:35 +00:00 committed by Michael Koch
parent 11e56db0bd
commit 89e4aa8109
2 changed files with 7 additions and 2 deletions

View 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

View 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();