Author: kono
Date: 2009-11-23 19:43:41 -0800 (Mon, 23 Nov 2009)
New Revision: 18555

Modified:
   cytoscape/trunk/src/cytoscape/CyNode.java
Log:
Unnecessary if removed.

Modified: cytoscape/trunk/src/cytoscape/CyNode.java
===================================================================
--- cytoscape/trunk/src/cytoscape/CyNode.java   2009-11-24 01:45:25 UTC (rev 
18554)
+++ cytoscape/trunk/src/cytoscape/CyNode.java   2009-11-24 03:43:41 UTC (rev 
18555)
@@ -281,8 +281,7 @@
                Cytoscape.getNetworkAttributes().setListAttribute(networkID, 
PARENT_NODES_ATTR, parentNodeList);
                
                // Let listeners know nested network was assigned to this node.
-               if (this.graphPerspective == null) {
-               } else {
+               if (this.graphPerspective != null) {
                        
Cytoscape.getPropertyChangeSupport().firePropertyChange(Cytoscape.NESTED_NETWORK_CREATED,
 this, graphPerspective);
                }
        }

--

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.


Reply via email to