Allon Mureinik has posted comments on this change. Change subject: core : create template from VM with no snappable disks (#841534) ......................................................................
Patch Set 1: Looks good to me, but someone else must approve (2 inline comments) .................................................... File backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/AddVmTemplateCommand.java Line 384: UpdateTemplateInSpm(template.getstorage_pool_id().getValue(), new java.util.ArrayList<VmTemplate>( You don't need the new Arraylist Line 385: java.util.Arrays.asList(new VmTemplate[] { template }))); 1. Please import java.util.Arrays 2. the new array creation is redundant - Arrays.asList accepts ... expressions. -- To view, visit http://gerrit.ovirt.org/6593 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: Ie825ea39fee6d6d5c86f9c82f3008fa314392ed2 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Liron Aravot <lara...@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: Tal Nisan <tni...@redhat.com> _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches