Change in ovirt-engine[master]: core: BaseImagesCommand: Don't use static DbFacade

mlipchuk at redhat.com mlipchuk at redhat.com
Mon Jul 23 15:06:33 UTC 2012


Maor Lipchuk has submitted this change and it was merged.

Change subject: core: BaseImagesCommand: Don't use static DbFacade
......................................................................


core: BaseImagesCommand: Don't use static DbFacade

Replaced calls to DbFacade.getInstance() to getDbFacade() and extracted
DAO accessors where possible (i.e., for all the instance methods).

Change-Id: I9fca30356f20217cf1334b9b7720bb280e4a1799
Signed-off-by: Allon Mureinik <amureini at redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/BaseImagesCommand.java
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/storage/StorageDomainCommandBase.java
2 files changed, 20 insertions(+), 15 deletions(-)

Approvals:
  Maor Lipchuk: Verified; Looks good to me, approved


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

Gerrit-MessageType: merged
Gerrit-Change-Id: I9fca30356f20217cf1334b9b7720bb280e4a1799
Gerrit-PatchSet: 6
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: Ayal Baron <abaron at redhat.com>
Gerrit-Reviewer: Daniel Erez <derez at redhat.com>
Gerrit-Reviewer: Maor Lipchuk <mlipchuk at redhat.com>



More information about the Engine-commits mailing list