[Japi-cvs] SF.net SVN: japi: [276] libs/swing-action/trunk/src/net/sf/japi/swing/ ReflectionAction.
Status: Beta
Brought to you by:
christianhujer
|
From: <chr...@us...> - 2007-01-07 17:44:37
|
Revision: 276
http://svn.sourceforge.net/japi/?rev=276&view=rev
Author: christianhujer
Date: 2007-01-07 09:44:34 -0800 (Sun, 07 Jan 2007)
Log Message:
-----------
Fixed bug: Duplicate invocation of target method.
Modified Paths:
--------------
libs/swing-action/trunk/src/net/sf/japi/swing/ReflectionAction.java
Modified: libs/swing-action/trunk/src/net/sf/japi/swing/ReflectionAction.java
===================================================================
--- libs/swing-action/trunk/src/net/sf/japi/swing/ReflectionAction.java 2007-01-07 16:07:36 UTC (rev 275)
+++ libs/swing-action/trunk/src/net/sf/japi/swing/ReflectionAction.java 2007-01-07 17:44:34 UTC (rev 276)
@@ -172,7 +172,6 @@
final Method method = getMethod(instance);
final Object[] arguments = getArguments(method, e);
method.invoke(instance, arguments);
- getMethod(instance).invoke(instance, (Object[]) getValue(REFLECTION_ARGUMENTS));
} catch (final IllegalAccessException ex) {
throw new IllegalAccessError(ACTION_FACTORY.format("ReflectionAction.nonPublicMethod", ex));
} catch (final InvocationTargetException ex) {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|