chandangupta102 / cloudsim

Automatically exported from code.google.com/p/cloudsim
0 stars 0 forks source link

[BUG] Wrong Parameter in Call #63

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
There is not a real problem at the moment. I use CloudSim since 07/04/2014.

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?
cloudSim-3.0

Please provide any additional information below.

In file Datacenter.java at the line code number 389,400,656,678,827,862,888 is 
called a method on host class:

.getVm(userId, vmId)

but the method in the file Host.java is defined as:

public Vm getVm(int vmId, int userId)

in the call userId e vmId are inverted.
I don't know if it's my mistake (I am a newbie on cloudSim) or the call 
parameters are wrong.

Claudio Badii

Original issue reported on code.google.com by clo.ba...@gmail.com on 9 Apr 2014 at 10:31

GoogleCodeExporter commented 8 years ago
Sorry, I see the changelog of version 3.0.1 and this issue is the:

Fixed Issue #34: Call getVm(vmId, userId) Function had swaped parameters in 
several parts of the Datacenter class.

Original comment by clo.ba...@gmail.com on 9 Apr 2014 at 1:43