Sergey Gotliv has posted comments on this change.

Change subject: core: Change existing disk validation CDA message in case of 
null disk alias
......................................................................


Patch Set 1: Code-Review+1

(1 comment)

http://gerrit.ovirt.org/#/c/24276/1/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/validator/DiskImagesValidator.java
File 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/validator/DiskImagesValidator.java:

Line 51: 
Line 52:     protected DiskImage getExistingDisk(Guid id) {
Line 53:         return getDbFacade().getDiskImageDao().get(id);
Line 54:     }
Line 55: 
Please, move this method to the end of the class on your last rebase. All these 
small "gets" in the middle of the class are very annoying.
Line 56:     protected boolean isDiskExists(Guid id) {
Line 57:         return DbFacade.getInstance().getBaseDiskDao().exists(id);
Line 58:     }
Line 59: 


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

Gerrit-MessageType: comment
Gerrit-Change-Id: I07b794b0fe9bdc5c83a62a74b82653ce209327b7
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Tal Nisan <tni...@redhat.com>
Gerrit-Reviewer: Allon Mureinik <amure...@redhat.com>
Gerrit-Reviewer: Ayal Baron <aba...@redhat.com>
Gerrit-Reviewer: Daniel Erez <de...@redhat.com>
Gerrit-Reviewer: Liron Ar <lara...@redhat.com>
Gerrit-Reviewer: Maor Lipchuk <mlipc...@redhat.com>
Gerrit-Reviewer: Sergey Gotliv <sgot...@redhat.com>
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: Yes
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to