Allon Mureinik has posted comments on this change. Change subject: core: Remove BusinessEntityGuidComparator class ......................................................................
Patch Set 2: (1 comment) http://gerrit.ovirt.org/#/c/32134/2/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/DiskImageDynamic.java File backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/DiskImageDynamic.java: Line 118: } Line 119: Line 120: @Override Line 121: public int compareTo(DiskImageDynamic o) { Line 122: return BusinessEntityComparator.newGuidInstance().compare(this, o); > Yes, I assume the whole existence of BusinessEntityGuidComparator was redun I don't think it was intended as a shortcut - just a lack of knowledge of the author (me :-)) at the time. There's no good reason to keep it or the semantic of a method with "Guid" in its name. Line 123: } -- To view, visit http://gerrit.ovirt.org/32134 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: I733bfbfdee01aa4c0bef344319e1dd471a3f2d79 Gerrit-PatchSet: 2 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Martin Betak <[email protected]> Gerrit-Reviewer: Allon Mureinik <[email protected]> Gerrit-Reviewer: Martin Betak <[email protected]> Gerrit-Reviewer: Moti Asayag <[email protected]> Gerrit-Reviewer: Omer Frenkel <[email protected]> Gerrit-Reviewer: [email protected] Gerrit-Reviewer: oVirt Jenkins CI Server Gerrit-HasComments: Yes _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
