remove hashfunction/equals methods
authorbdemsky <bdemsky>
Thu, 13 Sep 2007 09:21:16 +0000 (09:21 +0000)
committerbdemsky <bdemsky>
Thu, 13 Sep 2007 09:21:16 +0000 (09:21 +0000)
Robust/src/Analysis/TaskStateAnalysis/EGEdge.java

index b4f7d00477289979d686f8c7b25fc3ceddd9f066..0fe1cd831e48a48af163daabb03379a4941f7856 100644 (file)
@@ -8,29 +8,11 @@ import Util.Edge;
 
 
 public class EGEdge extends Edge{
-    EGTaskNode target;
-
-    
     public EGEdge(EGTaskNode target){
        super(target);
-       this.target = target;
     }
 
     public EGTaskNode getTarget(){
-       return target;
-    }
-                
-    public int hashCode(){
-       return target.hashCode();
+       return (EGTaskNode) target;
     }
-       
-    public boolean equals(Object o) {
-        if (o instanceof EGEdge) {
-            EGEdge e=(EGEdge)o;
-           return e.target.equals(target);
-        }
-        return false;
-    }
-
-    
 }