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 {
*/
@Override
public double cloudletSubmit(Cloudlet cloudlet) {
cloudletSubmit(cloudlet, 0);
return 0;
return cloudletSubmit(cloudlet, 0.0);
}
/**
......
......@@ -336,8 +336,7 @@ public class CloudletSchedulerTimeShared extends CloudletScheduler {
*/
@Override
public double cloudletSubmit(Cloudlet cloudlet) {
cloudletSubmit(cloudlet, 0);
return 0;
return cloudletSubmit(cloudlet, 0.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