Change in ovirt-engine[master]: core: CommandBase.getBackend()

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@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@redhat.com> Gerrit-Reviewer: Allon Mureinik <amureini@redhat.com> Gerrit-Reviewer: Laszlo Hornyak <lhornyak@redhat.com> Gerrit-Reviewer: Mike Kolesnik <mkolesni@redhat.com> Gerrit-Reviewer: Yair Zaslavsky <yzaslavs@redhat.com>
participants (1)
-
lhornyak@redhat.com