Yair Zaslavsky has uploaded a new change for review. Change subject: core: Fixing wrong instanceof usage at SrvRecord ......................................................................
core: Fixing wrong instanceof usage at SrvRecord The following fix fixes wrong usage of instanceof Change-Id: Ia9051d60924c9330cf7d18a29a82d61b597968fa Signed-off-by: Yair Zaslavsky <[email protected]> --- M backend/manager/modules/utils/src/main/java/org/ovirt/engine/core/utils/dns/DnsSRVLocator.java 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/08/14108/1 diff --git a/backend/manager/modules/utils/src/main/java/org/ovirt/engine/core/utils/dns/DnsSRVLocator.java b/backend/manager/modules/utils/src/main/java/org/ovirt/engine/core/utils/dns/DnsSRVLocator.java index de6b9a1..3e2a64d 100644 --- a/backend/manager/modules/utils/src/main/java/org/ovirt/engine/core/utils/dns/DnsSRVLocator.java +++ b/backend/manager/modules/utils/src/main/java/org/ovirt/engine/core/utils/dns/DnsSRVLocator.java @@ -169,7 +169,7 @@ return true; if (obj == null) return false; - if (!(obj instanceof DnsSRVLocator)) + if (!(obj instanceof SrvRecord)) return false; SrvRecord other = (SrvRecord) obj; if (getAddress() == null) { -- To view, visit http://gerrit.ovirt.org/14108 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ia9051d60924c9330cf7d18a29a82d61b597968fa Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Yair Zaslavsky <[email protected]> _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
