Change in ovirt-engine[master]: core: Reduce VM class instantiation in VmManagementParameter...

masayag at redhat.com masayag at redhat.com
Thu Jul 19 06:37:54 UTC 2012


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 <masayag at redhat.com>
---
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 <masayag at redhat.com>
Gerrit-Reviewer: Michael Kublin <mkublin at redhat.com>
Gerrit-Reviewer: Moti Asayag <masayag at redhat.com>



More information about the Engine-commits mailing list