projects
/
IRC.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8088e82
)
remove hashfunction/equals methods
author
bdemsky
<bdemsky>
Thu, 13 Sep 2007 09:21:16 +0000
(09:21 +0000)
committer
bdemsky
<bdemsky>
Thu, 13 Sep 2007 09:21:16 +0000
(09:21 +0000)
Robust/src/Analysis/TaskStateAnalysis/EGEdge.java
patch
|
blob
|
history
diff --git
a/Robust/src/Analysis/TaskStateAnalysis/EGEdge.java
b/Robust/src/Analysis/TaskStateAnalysis/EGEdge.java
index b4f7d00477289979d686f8c7b25fc3ceddd9f066..0fe1cd831e48a48af163daabb03379a4941f7856 100644
(file)
--- a/
Robust/src/Analysis/TaskStateAnalysis/EGEdge.java
+++ b/
Robust/src/Analysis/TaskStateAnalysis/EGEdge.java
@@
-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;
- }
-
-
}