Allon Mureinik has posted comments on this change.
Change subject: core: ImportVm cleanup: extract VM.hasImages()
......................................................................
Patch Set 1: (1 inline comment)
....................................................
File
backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/VM.java
Line 1015: return mVmStatic.getImages();
Line 1016: }
Line 1017:
Line 1018: public boolean hasImages() {
Line 1019: return getImages().isEmpty();
@Vered - I also think it's more readable, but if I already got two comments on
the contrary, I'll concede and change it.
@Alissa - this is done so the class can be marshaled (?) to GWT.
Line 1020: }
Line 1021:
Line 1022: public void setImages(ArrayList<DiskImage> value) {
Line 1023: mVmStatic.setImages(value);
--
To view, visit http://gerrit.ovirt.org/9657
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: I7486e68268700bd0c55204dce6fb3f711425f931
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Allon Mureinik <[email protected]>
Gerrit-Reviewer: Alissa Bonas <[email protected]>
Gerrit-Reviewer: Allon Mureinik <[email protected]>
Gerrit-Reviewer: Ayal Baron <[email protected]>
Gerrit-Reviewer: Daniel Erez <[email protected]>
Gerrit-Reviewer: Liron Aravot <[email protected]>
Gerrit-Reviewer: Maor Lipchuk <[email protected]>
Gerrit-Reviewer: Vered Volansky <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches