Author: ruschein
Date: 2010-11-30 12:31:59 -0800 (Tue, 30 Nov 2010)
New Revision: 23059
Modified:
core3/model-impl/trunk/impl/src/main/java/org/cytoscape/model/internal/CyTableEntryImpl.java
Log:
Removed redundant equals and hashCode methods.
Modified:
core3/model-impl/trunk/impl/src/main/java/org/cytoscape/model/internal/CyTableEntryImpl.java
===================================================================
---
core3/model-impl/trunk/impl/src/main/java/org/cytoscape/model/internal/CyTableEntryImpl.java
2010-11-30 19:28:37 UTC (rev 23058)
+++
core3/model-impl/trunk/impl/src/main/java/org/cytoscape/model/internal/CyTableEntryImpl.java
2010-11-30 20:31:59 UTC (rev 23059)
@@ -93,23 +93,4 @@
public CyRow getCyRow() {
return getCyRow(CyNetwork.DEFAULT_ATTRS);
}
-
- @Override
- public boolean equals(Object o) {
- if (!(o instanceof CyTableEntryImpl))
- return false;
-
- CyTableEntryImpl ir = (CyTableEntryImpl) o;
-
- if (ir.suid == this.suid)
- return true;
- else
-
- return false;
- }
-
- @Override
- public int hashCode() {
- return (int) (suid ^ (suid >>> 32));
- }
}
--
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.