Change in ovirt-engine[master]: core: CommandBase.getBackend()
lhornyak at redhat.com
lhornyak at redhat.com
Fri May 25 10:04:24 UTC 2012
Laszlo Hornyak has submitted this change and it was merged.
Change subject: core: CommandBase.getBackend()
......................................................................
core: CommandBase.getBackend()
Extracted a getBackend() method in CommandBase instead of calling
Backend.getInstnace() multiple times.
Also removed this method from other command classes that declared it and
used the base class' method instead.
Change-Id: I4f326301d1f7053a95743e894ef2482b2fa9c2a4
Signed-off-by: Allon Mureinik <amureini at redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/CommandBase.java
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/MoveOrCopyTemplateCommand.java
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/storage/RemoveStorageDomainCommand.java
3 files changed, 17 insertions(+), 22 deletions(-)
Approvals:
Laszlo Hornyak: Verified; Looks good to me, approved
Allon Mureinik: Verified
--
To view, visit http://gerrit.ovirt.org/4687
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I4f326301d1f7053a95743e894ef2482b2fa9c2a4
Gerrit-PatchSet: 4
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Allon Mureinik <amureini at redhat.com>
Gerrit-Reviewer: Allon Mureinik <amureini at redhat.com>
Gerrit-Reviewer: Laszlo Hornyak <lhornyak at redhat.com>
Gerrit-Reviewer: Mike Kolesnik <mkolesni at redhat.com>
Gerrit-Reviewer: Yair Zaslavsky <yzaslavs at redhat.com>
More information about the Engine-commits
mailing list