Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorslewis2010-10-06 05:04:30 +0000
committerslewis2010-10-06 05:04:30 +0000
commit455d1a21ee1abdfbc37e1fab55eea3d5aa152f15 (patch)
treec5ab7f16edd291cf82fe62f604d9640c090be12e /compendium
parent4ec4bdee9886403e338d8b90dc7d203e6b12d844 (diff)
downloadorg.eclipse.ecf-455d1a21ee1abdfbc37e1fab55eea3d5aa152f15.tar.gz
org.eclipse.ecf-455d1a21ee1abdfbc37e1fab55eea3d5aa152f15.tar.xz
org.eclipse.ecf-455d1a21ee1abdfbc37e1fab55eea3d5aa152f15.zip
Fix for bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=327034
Diffstat (limited to 'compendium')
-rw-r--r--compendium/bundles/org.eclipse.ecf.osgi.services.discovery/src/org/eclipse/ecf/internal/osgi/services/discovery/RemoteServiceEndpointDescriptionImpl.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/compendium/bundles/org.eclipse.ecf.osgi.services.discovery/src/org/eclipse/ecf/internal/osgi/services/discovery/RemoteServiceEndpointDescriptionImpl.java b/compendium/bundles/org.eclipse.ecf.osgi.services.discovery/src/org/eclipse/ecf/internal/osgi/services/discovery/RemoteServiceEndpointDescriptionImpl.java
index d98487989..b32fa6d70 100644
--- a/compendium/bundles/org.eclipse.ecf.osgi.services.discovery/src/org/eclipse/ecf/internal/osgi/services/discovery/RemoteServiceEndpointDescriptionImpl.java
+++ b/compendium/bundles/org.eclipse.ecf.osgi.services.discovery/src/org/eclipse/ecf/internal/osgi/services/discovery/RemoteServiceEndpointDescriptionImpl.java
@@ -71,6 +71,7 @@ public class RemoteServiceEndpointDescriptionImpl extends
long rsId = this.getRemoteServiceId();
hashCode = 31 * hashCode + (int) (rsId ^ (rsId >>> 32));
hashCode = 31 * hashCode + serviceLocation.hashCode();
+ hashCode = 31 * hashCode + endpointId.hashCode();
}
/*
@@ -109,7 +110,8 @@ public class RemoteServiceEndpointDescriptionImpl extends
RemoteServiceEndpointDescriptionImpl other = (RemoteServiceEndpointDescriptionImpl) obj;
return this.serviceId.getLocation().equals(
other.serviceId.getLocation())
- && getRemoteServiceId() == other.getRemoteServiceId();
+ && getRemoteServiceId() == other.getRemoteServiceId()
+ && endpointId.equals(other.getEndpointAsID());
}
public IServiceID getServiceID() {

Back to the top