Skip to content

Commit

Permalink
refactor: Remove unused parameter on NetworkVmsExampleWorkflowApp
Browse files Browse the repository at this point in the history
Signed-off-by: Manoel Campos <manoelcampos@gmail.com>
  • Loading branch information
manoelcampos committed Nov 7, 2024
1 parent d42baa6 commit ac160e2
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ private NetworkVmsExampleWorkflowApp(){
}

@Override
public List<NetworkCloudlet> createNetworkCloudlets(DatacenterBroker broker) {
public List<NetworkCloudlet> createNetworkCloudlets(final DatacenterBroker broker) {
final var networkCloudlets = new NetworkCloudlet[3];
final List<NetworkVm> selectedVms = randomlySelectVmsForApp(networkCloudlets.length);

Expand Down Expand Up @@ -62,11 +62,10 @@ public List<NetworkCloudlet> createNetworkCloudlets(DatacenterBroker broker) {
* Creates a {@link NetworkCloudlet}.
*
* @param id
* @param vm the VM that will run the created {@link NetworkCloudlet)
* @param broker the broker that will own the create NetworkCloudlet
* @param vm the VM that will run the created {@link NetworkCloudlet}
* @return
*/
private NetworkCloudlet createNetworkCloudlet(final int id, NetworkVm vm, DatacenterBroker broker) {
private NetworkCloudlet createNetworkCloudlet(final int id, final NetworkVm vm) {
final var utilizationModel = new UtilizationModelFull();
final var cloudlet = new NetworkCloudlet(id, CLOUDLET_PES);
cloudlet
Expand Down

0 comments on commit ac160e2

Please sign in to comment.