Cloudslab / cloudsim

CloudSim: A Framework For Modeling And Simulation Of Cloud Computing Infrastructures And Services
http://www.cloudbus.org/cloudsim/
831 stars 507 forks source link

Access modifier of DatacenterBroker::finishExecution() #10

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a subclass of DatacenterBroker
2. Implement a method (new or overriden) that uses the 
DatacenterBroker::finishExecution() method.
3.

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

The new class won't be able to call the DatacenterBroker::finishExecution() 
method due to its private access level. This makes the subclass unable to 
compile successfully.

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

CloudSim 2.1.1
OS: Linux and Windows

Please provide any additional information below.

Changing the method's access modifier to protected would solve this issue.

Original issue reported on code.google.com by thiagot...@gmail.com on 2 Sep 2011 at 1:06

GoogleCodeExporter commented 9 years ago
Visibility of method "DatacenterBroker.finishExecution()" changed from private 
to protected.

Original comment by rodrigo.calheiros on 15 Dec 2011 at 3:47