From 0a3391041194e3d5d068f9c37ee9ba4d71c78d63 Mon Sep 17 00:00:00 2001
From: Kasper Gammeltoft
diff --git a/src/org.eclipse.ice.datastructures/src/org/eclipse/ice/datastructures/form/MatrixComponent.java b/src/org.eclipse.ice.datastructures/src/org/eclipse/ice/datastructures/form/MatrixComponent.java index 69cb2a3eb..c8091dc1a 100644 --- a/src/org.eclipse.ice.datastructures/src/org/eclipse/ice/datastructures/form/MatrixComponent.java +++ b/src/org.eclipse.ice.datastructures/src/org/eclipse/ice/datastructures/form/MatrixComponent.java @@ -370,7 +370,8 @@ public class MatrixComponent extends ICEObject implements Component { * True if the TableComponents are equal, false if not *
*/ - public boolean equals(MatrixComponent otherMatrixComponent) { + public boolean equals(Object otherMatrixComponent) { + boolean retVal = true; // Check if they are the same reference in memory if (this == otherMatrixComponent) { diff --git a/src/org.eclipse.ice.datastructures/src/org/eclipse/ice/datastructures/form/ResourceComponent.java b/src/org.eclipse.ice.datastructures/src/org/eclipse/ice/datastructures/form/ResourceComponent.java index 56c88642f..df4ff957b 100644 --- a/src/org.eclipse.ice.datastructures/src/org/eclipse/ice/datastructures/form/ResourceComponent.java +++ b/src/org.eclipse.ice.datastructures/src/org/eclipse/ice/datastructures/form/ResourceComponent.java @@ -103,6 +103,16 @@ public class ResourceComponent extends ListComponent
* This operation returns the hashcode value of the KDDMatrix.
@@ -652,7 +659,7 @@ public class KDDMatrix implements IAbstractMatrix