Change in ovirt-engine[master]: core: Fix compareTo for SRV records

yzaslavs at redhat.com yzaslavs at redhat.com
Mon Aug 12 10:33:34 UTC 2013


Yair Zaslavsky has submitted this change and it was merged.

Change subject: core: Fix compareTo for SRV records
......................................................................


core: Fix compareTo for SRV records

This suggested implemenation is more natural as it is based
on substraction of two values which is commonly used in comparisson

Bug-Url: https://bugzilla.redhat.com/985623
Change-Id: Iff93a85f529633934515015653c517500bf51c6b
Signed-off-by: Yair Zaslavsky <yzaslavs at redhat.com>
---
M backend/manager/modules/utils/src/main/java/org/ovirt/engine/core/utils/dns/DnsSRVLocator.java
M backend/manager/tools/src/test/java/org/ovirt/engine/core/utils/dns/DnsSRVLocatorTest.java
2 files changed, 3 insertions(+), 8 deletions(-)

Approvals:
  Yair Zaslavsky: Verified; Looks good to me, approved



-- 
To view, visit http://gerrit.ovirt.org/17049
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Iff93a85f529633934515015653c517500bf51c6b
Gerrit-PatchSet: 4
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Yair Zaslavsky <yzaslavs at redhat.com>
Gerrit-Reviewer: Martin Peřina <mperina at redhat.com>
Gerrit-Reviewer: Yair Zaslavsky <yzaslavs at redhat.com>
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the Engine-commits mailing list