Moti Asayag has submitted this change and it was merged.

Change subject: core: Reduce VM class instantiation in 
VmManagementParametersBase
......................................................................


core: Reduce VM class instantiation in VmManagementParametersBase

Each call to VmManagementParametersBase.getVM() used to instantiate an
instance of the VM class and set it with the same VM static date.

The complete treatment would have be to use the VmStatic data rather the
VM class, however it requires a wider change.

Change-Id: I37b9153c829c77f7c78620e0a3a32b426619722e
Signed-off-by: Moti Asayag <[email protected]>
---
M 
backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/action/VmManagementParametersBase.java
1 file changed, 5 insertions(+), 2 deletions(-)

Approvals:
  Michael Kublin: Looks good to me, approved
  Moti Asayag: Verified


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

Gerrit-MessageType: merged
Gerrit-Change-Id: I37b9153c829c77f7c78620e0a3a32b426619722e
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Moti Asayag <[email protected]>
Gerrit-Reviewer: Michael Kublin <[email protected]>
Gerrit-Reviewer: Moti Asayag <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to