Author: kono
Date: 2010-08-31 16:53:21 -0700 (Tue, 31 Aug 2010)
New Revision: 21650
Modified:
core3/event-impl/trunk/src/main/java/org/cytoscape/event/internal/CyMicroListenerAdapter.java
Log:
Minor change only.
Modified:
core3/event-impl/trunk/src/main/java/org/cytoscape/event/internal/CyMicroListenerAdapter.java
===================================================================
---
core3/event-impl/trunk/src/main/java/org/cytoscape/event/internal/CyMicroListenerAdapter.java
2010-08-31 23:53:03 UTC (rev 21649)
+++
core3/event-impl/trunk/src/main/java/org/cytoscape/event/internal/CyMicroListenerAdapter.java
2010-08-31 23:53:21 UTC (rev 21650)
@@ -53,6 +53,7 @@
private final Map<Object,Map<Class<?>,Object>> proxys;
private final Map<Object,Map<Class<?>,Set<Object>>> listeners;
private final Map<Class<?>,Object> noOpProxies;
+
private final static Logger logger =
LoggerFactory.getLogger(CyMicroListenerAdapter.class);
public CyMicroListenerAdapter() {
@@ -74,7 +75,7 @@
return listenerClass.cast( proxy );
}
- private Object noOpProxy( Class c ) {
+ private Object noOpProxy(final Class<?> c ) {
Object noOp = noOpProxies.get( c );
if ( noOp == null ) {
noOp = Proxy.newProxyInstance(c.getClassLoader(), new
Class[] { c },
@@ -166,9 +167,10 @@
if ( ol == null )
return null;
- for ( Object o : ol )
+ for (final Object o : ol )
method.invoke(o,args);
- return null; // TODO ??
+
+ 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.