diff options
author | slewis | 2010-10-06 05:04:30 +0000 |
---|---|---|
committer | slewis | 2010-10-06 05:04:30 +0000 |
commit | 455d1a21ee1abdfbc37e1fab55eea3d5aa152f15 (patch) | |
tree | c5ab7f16edd291cf82fe62f604d9640c090be12e /compendium | |
parent | 4ec4bdee9886403e338d8b90dc7d203e6b12d844 (diff) | |
download | org.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.java | 4 |
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() { |