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
regenerate all makefiles.in with the lastest autotools
[simgrid.git]
/
examples
/
java
/
comm_time
/
CommTimeTask.java
diff --git
a/examples/java/comm_time/CommTimeTask.java
b/examples/java/comm_time/CommTimeTask.java
index
0672146
..
1890530
100644
(file)
--- a/
examples/java/comm_time/CommTimeTask.java
+++ b/
examples/java/comm_time/CommTimeTask.java
@@
-13,10
+13,9
@@
import simgrid.msg.*;
public class CommTimeTask extends Task {
private double timeVal;
public class CommTimeTask extends Task {
private double timeVal;
- private int data;
public CommTimeTask(String name, double computeDuration, double messageSize) throws JniException, NativeException{
public CommTimeTask(String name, double computeDuration, double messageSize) throws JniException, NativeException{
-
create
(name,computeDuration,messageSize);
+
super
(name,computeDuration,messageSize);
}
public void setTime(double timeVal){
}
public void setTime(double timeVal){
@@
-26,13
+25,5
@@
public class CommTimeTask extends Task {
public double getTime() {
return this.timeVal;
}
public double getTime() {
return this.timeVal;
}
-
- public void setData(int data) {
- this.data = data;
- }
-
- public int getData() {
- return this.data;
- }
}
\ No newline at end of file
}
\ No newline at end of file