Commit 393588c4 authored by rodrigo.calheiros's avatar rodrigo.calheiros

Fixed bug in CloudletSchedulers: call to cloudletSubmit(Cloudlet cl) returned always 0.0,

when it should return estimated finish time.
parent 5336673a
...@@ -413,8 +413,7 @@ public class CloudletSchedulerSpaceShared extends CloudletScheduler { ...@@ -413,8 +413,7 @@ public class CloudletSchedulerSpaceShared extends CloudletScheduler {
*/ */
@Override @Override
public double cloudletSubmit(Cloudlet cloudlet) { public double cloudletSubmit(Cloudlet cloudlet) {
cloudletSubmit(cloudlet, 0); return cloudletSubmit(cloudlet, 0.0);
return 0;
} }
/** /**
......
...@@ -336,8 +336,7 @@ public class CloudletSchedulerTimeShared extends CloudletScheduler { ...@@ -336,8 +336,7 @@ public class CloudletSchedulerTimeShared extends CloudletScheduler {
*/ */
@Override @Override
public double cloudletSubmit(Cloudlet cloudlet) { public double cloudletSubmit(Cloudlet cloudlet) {
cloudletSubmit(cloudlet, 0); return cloudletSubmit(cloudlet, 0.0);
return 0;
} }
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment