Vered Volansky has posted comments on this change. Change subject: core: Extract disk alias generation methods ......................................................................
Patch Set 4: (1 inline comment) .................................................... File backend/manager/modules/utils/src/main/java/org/ovirt/engine/core/utils/disks/DiskUtils.java Line 44: } Line 45: return diskAlias; Line 46: } Line 47: Line 48: public static String getDefaultDiskAlias(String prefix, String suffix) { StringBuilder is faster for more than two concatenations, which is also the rule of thumb for when to use it. Line 49: return prefix + DISK + suffix; Line 50: } Line 51: Line 52: public static boolean setDiskAlias(BaseDisk disk, VM vm) { -- To view, visit http://gerrit.ovirt.org/9273 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: Iaf2a1147c022f4cdb7c5658818667af4b51e6aac Gerrit-PatchSet: 4 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Allon Mureinik <amure...@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