Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Watson2009-05-13 17:53:52 +0000
committerThomas Watson2009-05-13 17:53:52 +0000
commit5c655881af2674ab54d41b026f0bb5efda3ca391 (patch)
tree1f418a99b1c8d7f136ae30c8ed116a0efdf78c0f /bundles/org.eclipse.equinox.wireadmin
parent93cad0d7808751dc3a2fc0f89edb5dd67894b90c (diff)
downloadrt.equinox.bundles-5c655881af2674ab54d41b026f0bb5efda3ca391.tar.gz
rt.equinox.bundles-5c655881af2674ab54d41b026f0bb5efda3ca391.tar.xz
rt.equinox.bundles-5c655881af2674ab54d41b026f0bb5efda3ca391.zip
Bug 276119 [event] Event(String, Hashtable) constructor is being removed
Diffstat (limited to 'bundles/org.eclipse.equinox.wireadmin')
-rw-r--r--bundles/org.eclipse.equinox.wireadmin/src/org/eclipse/equinox/internal/wireadmin/WireReDispatcher.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/bundles/org.eclipse.equinox.wireadmin/src/org/eclipse/equinox/internal/wireadmin/WireReDispatcher.java b/bundles/org.eclipse.equinox.wireadmin/src/org/eclipse/equinox/internal/wireadmin/WireReDispatcher.java
index 56246c79e..ca5383cf8 100644
--- a/bundles/org.eclipse.equinox.wireadmin/src/org/eclipse/equinox/internal/wireadmin/WireReDispatcher.java
+++ b/bundles/org.eclipse.equinox.wireadmin/src/org/eclipse/equinox/internal/wireadmin/WireReDispatcher.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 1997-2007 by ProSyst Software GmbH
+ * Copyright (c) 1997-2009 by ProSyst Software GmbH
* http://www.prosyst.com
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
@@ -11,6 +11,7 @@
*******************************************************************************/
package org.eclipse.equinox.internal.wireadmin;
+import java.util.Dictionary;
import java.util.Hashtable;
import org.eclipse.equinox.internal.util.ref.Log;
import org.osgi.framework.*;
@@ -201,7 +202,7 @@ public class WireReDispatcher implements WireAdminListener {
addExceptionProps(props, throwable);
}
props.put(EVENT, event);
- eventAdmin.postEvent(new Event(topic, props));
+ eventAdmin.postEvent(new Event(topic, (Dictionary) props));
if (Activator.LOG_DEBUG)
log.debug(0, 10018, event.toString(), null, false);
}

Back to the top