seyed8453 / cloudsim

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

Access modifier of DatacenterBroker::finishExecution() #10

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 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 8 years ago
Visibility of method "DatacenterBroker.finishExecution()" changed from private 
to protected.

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