Author: mes
Date: 2012-01-27 12:10:18 -0800 (Fri, 27 Jan 2012)
New Revision: 28127
Modified:
core3/impl/trunk/swing-application-impl/src/main/java/org/cytoscape/internal/view/NetworkPanel.java
Log:
tiny bit more cleanup of NetworkPanel
Modified:
core3/impl/trunk/swing-application-impl/src/main/java/org/cytoscape/internal/view/NetworkPanel.java
===================================================================
---
core3/impl/trunk/swing-application-impl/src/main/java/org/cytoscape/internal/view/NetworkPanel.java
2012-01-27 20:04:57 UTC (rev 28126)
+++
core3/impl/trunk/swing-application-impl/src/main/java/org/cytoscape/internal/view/NetworkPanel.java
2012-01-27 20:10:18 UTC (rev 28127)
@@ -401,9 +401,7 @@
// if it's one of the selected tables, then
update the counts
n = nodeEdgeTables.get(e.getSource());
if ( n != null ) {
- Collection<RowSetRecord> rowSetRecords
= e.getPayloadCollection();
- Iterator<RowSetRecord> it =
rowSetRecords.iterator();
- RowSetRecord record = it.next();
+ final RowSetRecord record =
e.getPayloadCollection().iterator().next();
if ( record != null &&
record.getColumn().equalsIgnoreCase(CyNetwork.SELECTED)) {
treeTable.getTree().updateUI();
}
--
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.