commit | 2ddb9468a4d091e75a20fe39763d1116e199d756 | [log] [tgz] |
---|---|---|
author | slewis <slewis@composent.com> | Thu Apr 12 16:56:38 2018 -0700 |
committer | slewis <slewis@composent.com> | Thu Apr 12 16:56:38 2018 -0700 |
tree | 77ccecffe88e774eef1e50f5b16706b22afb164e | |
parent | df6af6281b609790e363388259edc378e4071d48 [diff] |
Fix for bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=533528 Change-Id: I4ca2226438afccc611bbf26eb5895494b6613f4e
diff --git a/framework/bundles/org.eclipse.ecf.identity/src/org/eclipse/ecf/core/identity/URIID.java b/framework/bundles/org.eclipse.ecf.identity/src/org/eclipse/ecf/core/identity/URIID.java index a449926..ea19005 100644 --- a/framework/bundles/org.eclipse.ecf.identity/src/org/eclipse/ecf/core/identity/URIID.java +++ b/framework/bundles/org.eclipse.ecf.identity/src/org/eclipse/ecf/core/identity/URIID.java
@@ -106,7 +106,7 @@ return true; if (!this.getClass().equals(o.getClass())) return false; - return this.uri.equals(((URIID) o).uri); + return this.uri.toString().equals((((URIID) o).uri).toString()); } protected String namespaceGetName() { @@ -114,7 +114,7 @@ } protected int namespaceHashCode() { - return uri.hashCode(); + return uri.toString().hashCode() ^ getClass().hashCode(); } public URI toURI() {