A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
move recently added getters after the constuctors
[simgrid.git]
/
examples
/
java
/
dht
/
chord
/
ChordTask.java
diff --git
a/examples/java/dht/chord/ChordTask.java
b/examples/java/dht/chord/ChordTask.java
index
e43fc8b
..
e17a19b
100644
(file)
--- a/
examples/java/dht/chord/ChordTask.java
+++ b/
examples/java/dht/chord/ChordTask.java
@@
-16,6
+16,12
@@
public class ChordTask extends Task {
this(null,null);
}
this(null,null);
}
+ public ChordTask(String issuerHostName, String answerTo) {
+ super(null, Common.COMP_SIZE, Common.COMM_SIZE);
+ this.issuerHostName = issuerHostName;
+ this.answerTo = answerTo;
+ }
+
public String getIssuerHostName(){
return this.issuerHostName;
}
public String getIssuerHostName(){
return this.issuerHostName;
}
@@
-23,10
+29,4
@@
public class ChordTask extends Task {
public String getAnswerTo(){
return this.answerTo;
}
public String getAnswerTo(){
return this.answerTo;
}
-
- public ChordTask(String issuerHostName, String answerTo) {
- super(null, Common.COMP_SIZE, Common.COMM_SIZE);
- this.issuerHostName = issuerHostName;
- this.answerTo = answerTo;
- }
}
}