Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormkuppe2009-02-19 07:34:44 +0000
committermkuppe2009-02-19 07:34:44 +0000
commitf49269d99dc06bb1f963988ac45d3d2afba27347 (patch)
tree53eda28769f5a725e95c57314fcd64b8c9f01ea9 /providers
parent855a03f2b501ed05be4063769215daeb025af5b8 (diff)
downloadorg.eclipse.ecf-f49269d99dc06bb1f963988ac45d3d2afba27347.tar.gz
org.eclipse.ecf-f49269d99dc06bb1f963988ac45d3d2afba27347.tar.xz
org.eclipse.ecf-f49269d99dc06bb1f963988ac45d3d2afba27347.zip
RESOLVED - bug 265414: [Discovery][JMDNS] junit.framework.AssertionFailedError: Test listener received more than expected discovery event expected:<1> but was:<2>
https://bugs.eclipse.org/bugs/show_bug.cgi?id=265414
Diffstat (limited to 'providers')
-rw-r--r--providers/bundles/org.eclipse.ecf.provider.jmdns/src/org/eclipse/ecf/provider/jmdns/container/JMDNSDiscoveryContainer.java12
1 files changed, 0 insertions, 12 deletions
diff --git a/providers/bundles/org.eclipse.ecf.provider.jmdns/src/org/eclipse/ecf/provider/jmdns/container/JMDNSDiscoveryContainer.java b/providers/bundles/org.eclipse.ecf.provider.jmdns/src/org/eclipse/ecf/provider/jmdns/container/JMDNSDiscoveryContainer.java
index f6789d2bb..aa6ca7a2f 100644
--- a/providers/bundles/org.eclipse.ecf.provider.jmdns/src/org/eclipse/ecf/provider/jmdns/container/JMDNSDiscoveryContainer.java
+++ b/providers/bundles/org.eclipse.ecf.provider.jmdns/src/org/eclipse/ecf/provider/jmdns/container/JMDNSDiscoveryContainer.java
@@ -358,18 +358,6 @@ public class JMDNSDiscoveryContainer extends AbstractDiscoveryContainerAdapter i
*/
public void serviceResolved(final ServiceEvent arg0) {
Trace.trace(JMDNSPlugin.PLUGIN_ID, "serviceResolved(" + arg0.getName() + ")"); //$NON-NLS-1$ //$NON-NLS-2$
- runInThread(new Runnable() {
- public void run() {
- if(getConnectedID() == null || disposed) {
- return;
- }
- try {
- fireDiscovered(createIServiceInfoFromServiceEvent(arg0));
- } catch (final Exception e) {
- Trace.catching(JMDNSPlugin.PLUGIN_ID, JMDNSDebugOptions.EXCEPTIONS_CATCHING, this.getClass(), "serviceResolved", e); //$NON-NLS-1$
- }
- }
- });
}
void fireDiscovered(IServiceInfo serviceInfo) {

Back to the top