Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Further cleanups of the Java bindings:
[simgrid.git] / examples / java / comm_time / CommTimeTask.java
index 0672146..1890530 100644 (file)
@@ -13,10 +13,9 @@ import simgrid.msg.*;
 public class CommTimeTask extends Task {
        
    private double timeVal;
-   private int data;
        
    public CommTimeTask(String name, double computeDuration, double messageSize) throws JniException, NativeException{
-      create(name,computeDuration,messageSize);
+      super(name,computeDuration,messageSize);
    }
        
    public void setTime(double timeVal){
@@ -26,13 +25,5 @@ public class CommTimeTask extends Task {
    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