Maor Lipchuk has posted comments on this change. Change subject: Refactor UpdateVdsGroupCommand ......................................................................
Patch Set 1: (2 inline comments) .................................................... File backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/UpdateVdsGroupCommand.java Line 135: VdsGroupDAO vdsGroupDAO = DbFacade.getInstance().getVdsGroupDAO(); Hi Saggi, you can use getVdsGropDAO() which is already implemented in the parent class AuditLogableBase, instead set new parameter for vdsGroupDAO Line 161: VDSGroup oldGroup = vdsGroupDAO.get(vdsGroup.getId()); Same here, this code line can be replaced with : VDSGroup oldGroup = getVdsGroupDAO().get(vdsGroup.getId()); -- To view, visit http://gerrit.ovirt.org/2271 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: I47300fec2f6f5fabdbc75e8c78332c5aef2508a2 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Saggi Mizrahi <[email protected]> Gerrit-Reviewer: Ayal Baron <[email protected]> Gerrit-Reviewer: Haim Ateya <[email protected]> Gerrit-Reviewer: Maor Lipchuk <[email protected]> Gerrit-Reviewer: Omer Frenkel <[email protected]> Gerrit-Reviewer: Saggi Mizrahi <[email protected]> _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
