Author: ruschein
Date: 2011-08-16 14:24:58 -0700 (Tue, 16 Aug 2011)
New Revision: 26577
Modified:
core3/impl/trunk/model-impl/impl/src/main/java/org/cytoscape/model/internal/CyTableImpl.java
Log:
Simplified the InternalRow inner class.
Modified:
core3/impl/trunk/model-impl/impl/src/main/java/org/cytoscape/model/internal/CyTableImpl.java
===================================================================
---
core3/impl/trunk/model-impl/impl/src/main/java/org/cytoscape/model/internal/CyTableImpl.java
2011-08-16 20:34:02 UTC (rev 26576)
+++
core3/impl/trunk/model-impl/impl/src/main/java/org/cytoscape/model/internal/CyTableImpl.java
2011-08-16 21:24:58 UTC (rev 26577)
@@ -443,7 +443,7 @@
if (row != null)
return row;
- row = new InternalRow(key, this);
+ row = new InternalRow(key);
rows.put(key, row);
}
@@ -943,11 +943,9 @@
private final class InternalRow implements CyRow {
private final Object key;
- private final CyTable table;
- InternalRow(Object key, CyTable table) {
+ InternalRow(final Object key) {
this.key = key;
- this.table = table;
}
@Override
@@ -997,7 +995,7 @@
@Override
public CyTable getTable() {
- return table;
+ return CyTableImpl.this;
}
@Override
--
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.