Change in ovirt-engine[master]: engine: Networking commands reuse methods

mkolesni at redhat.com mkolesni at redhat.com
Sun Dec 30 14:35:31 UTC 2012


Mike Kolesnik has submitted this change and it was merged.

Change subject: engine: Networking commands reuse methods
......................................................................


engine: Networking commands reuse methods

Refactored network handling commands to reuse getNetwork() and
getNetworkName() commands instead of just calling each time to the
parameters.
This makes code simpler to read & understand.

Change-Id: I9e43aed03867998180edc409d13c0ac4c88cbbf2
Signed-off-by: Mike Kolesnik <mkolesni at redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/network/dc/AddNetworkCommand.java
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/network/dc/NetworkCommon.java
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/network/dc/RemoveNetworkCommand.java
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/network/dc/UpdateNetworkCommand.java
4 files changed, 35 insertions(+), 31 deletions(-)

Approvals:
  Mike Kolesnik: Verified; Looks good to me, approved


--
To view, visit http://gerrit.ovirt.org/10483
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I9e43aed03867998180edc409d13c0ac4c88cbbf2
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Mike Kolesnik <mkolesni at redhat.com>
Gerrit-Reviewer: Mike Kolesnik <mkolesni at redhat.com>
Gerrit-Reviewer: Moti Asayag <masayag at redhat.com>
Gerrit-Reviewer: Muli Salem <msalem at redhat.com>



More information about the Engine-commits mailing list