Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'framework/bundles/org.eclipse.ecf.identity/src/org/eclipse/ecf/core/identity/URIID.java')
-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