Author: mes
Date: 2010-09-10 12:32:42 -0700 (Fri, 10 Sep 2010)
New Revision: 21794
Modified:
core3/work-api/trunk/src/main/java/org/cytoscape/work/AbstractTunableInterceptor.java
Log:
fixed bug with getting of setter methods in inherited classes
Modified:
core3/work-api/trunk/src/main/java/org/cytoscape/work/AbstractTunableInterceptor.java
===================================================================
---
core3/work-api/trunk/src/main/java/org/cytoscape/work/AbstractTunableInterceptor.java
2010-09-10 19:21:32 UTC (rev 21793)
+++
core3/work-api/trunk/src/main/java/org/cytoscape/work/AbstractTunableInterceptor.java
2010-09-10 19:32:42 UTC (rev 21794)
@@ -228,7 +228,7 @@
private Method findCompatibleSetter(final Object obj, final String
rootName, final Class getterReturnType) {
try {
- return obj.getClass().getDeclaredMethod("set" +
rootName, getterReturnType);
+ return obj.getClass().getMethod("set" + rootName,
getterReturnType);
} catch (final Exception e) {
return null;
}
--
You received this message because you are subscribed to the Google Groups
"cytoscape-cvs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/cytoscape-cvs?hl=en.