Yaniv Bronhaim has posted comments on this change. Change subject: core: Adding RpmVersion utils ......................................................................
Patch Set 7: (1 comment) what about testing releases with strings - as beta1, rc and inc .................................................... File backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/utils/RpmVersionUtils.java Line 16: * 0 - if two parts are equals Line 17: * 1 - if the 1st argument is bigger than the 2nd Line 18: * -1 - if the 1st argument is smaller than the 2nd Line 19: */ Line 20: public static int compareRpmPart(String part1, String part2) { compareRpmParts .. the s is missing Line 21: String[] comps1 = part1.split("\\."); Line 22: String[] comps2 = part2.split("\\."); Line 23: int i = 0; Line 24: while (i < comps1.length && i < comps2.length && comps1[i].equals(comps2[i])) { -- To view, visit http://gerrit.ovirt.org/18370 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: Ia82d09e755b767f254224c84abd16516592715ac Gerrit-PatchSet: 7 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Yair Zaslavsky <yzasl...@redhat.com> Gerrit-Reviewer: Daniel Erez <de...@redhat.com> Gerrit-Reviewer: Douglas Schilling Landgraf <dougsl...@redhat.com> Gerrit-Reviewer: Vojtech Szocs <vsz...@redhat.com> Gerrit-Reviewer: Yair Zaslavsky <yzasl...@redhat.com> Gerrit-Reviewer: Yaniv Bronhaim <ybron...@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