Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorslewis2018-04-12 19:56:38 -0400
committerslewis2018-04-12 19:56:38 -0400
commit2ddb9468a4d091e75a20fe39763d1116e199d756 (patch)
tree77ccecffe88e774eef1e50f5b16706b22afb164e /framework
parentdf6af6281b609790e363388259edc378e4071d48 (diff)
downloadorg.eclipse.ecf-2ddb9468a4d091e75a20fe39763d1116e199d756.tar.gz
org.eclipse.ecf-2ddb9468a4d091e75a20fe39763d1116e199d756.tar.xz
org.eclipse.ecf-2ddb9468a4d091e75a20fe39763d1116e199d756.zip
Fix for bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=533528
Diffstat (limited to 'framework')
-rw-r--r--framework/bundles/org.eclipse.ecf.identity/src/org/eclipse/ecf/core/identity/URIID.java4
1 files changed, 2 insertions, 2 deletions
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 a449926b5..ea19005e3 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 @@ public class URIID extends BaseID implements IResourceID {
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 @@ public class URIID extends BaseID implements IResourceID {
}
protected int namespaceHashCode() {
- return uri.hashCode();
+ return uri.toString().hashCode() ^ getClass().hashCode();
}
public URI toURI() {

Back to the top