Ayal Baron has posted comments on this change.

Change subject: core: ImportVm cleanup: fix modifiers
......................................................................


Patch Set 2: (2 inline comments)

....................................................
File 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/ImportVmCommand.java
Line 500: 
Line 501:         setSucceeded(true);
Line 502:     }
Line 503: 
Line 504:     private static boolean hasSnappableDisks(VM vm) {
why is this method not part of class VM?
Line 505:         return !vm.getImages().isEmpty();
Line 506:     }
Line 507: 
Line 508:     private void addVmToDb() {


Line 501:         setSucceeded(true);
Line 502:     }
Line 503: 
Line 504:     private static boolean hasSnappableDisks(VM vm) {
Line 505:         return !vm.getImages().isEmpty();
by the way, although not related to this patch, assuming Vm has an image which 
is marked as shareable, why is it considered snappable?
Line 506:     }
Line 507: 
Line 508:     private void addVmToDb() {
Line 509:         TransactionSupport.executeInNewTransaction(new 
TransactionMethod<Void>() {


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

Gerrit-MessageType: comment
Gerrit-Change-Id: Ia5c3d14c575e4045101a9345b09ce7d630e0933e
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Allon Mureinik <amure...@redhat.com>
Gerrit-Reviewer: Alissa Bonas <abo...@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 Aravot <lara...@redhat.com>
Gerrit-Reviewer: Maor Lipchuk <mlipc...@redhat.com>
Gerrit-Reviewer: Vered Volansky <vvola...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to