Blame felix-gogo-runtime-dictionary.patch
|
Tomas Radej |
53a8d80 |
diff --git a/src/main/java/org/apache/felix/gogo/runtime/activator/EventAdminListener.java b/src/main/java/org/apache/felix/gogo/runtime/activator/EventAdminListener.java
|
|
Tomas Radej |
53a8d80 |
index 2368ce1..dab9269 100644
|
|
Tomas Radej |
53a8d80 |
--- a/src/main/java/org/apache/felix/gogo/runtime/activator/EventAdminListener.java
|
|
Tomas Radej |
53a8d80 |
+++ b/src/main/java/org/apache/felix/gogo/runtime/activator/EventAdminListener.java
|
|
Tomas Radej |
53a8d80 |
@@ -19,6 +19,7 @@
|
|
Tomas Radej |
53a8d80 |
package org.apache.felix.gogo.runtime.activator;
|
|
Tomas Radej |
53a8d80 |
|
|
Tomas Radej |
53a8d80 |
import java.util.Properties;
|
|
Tomas Radej |
53a8d80 |
+import java.util.Dictionary;
|
|
Tomas Radej |
53a8d80 |
|
|
Tomas Radej |
53a8d80 |
import org.apache.felix.gogo.api.CommandSessionListener;
|
|
Tomas Radej |
53a8d80 |
import org.apache.felix.service.command.CommandSession;
|
|
Tomas Radej |
53a8d80 |
@@ -45,7 +46,7 @@ public class EventAdminListener implements CommandSessionListener
|
|
Tomas Radej |
53a8d80 |
if (admin != null) {
|
|
Tomas Radej |
53a8d80 |
Properties props = new Properties();
|
|
Tomas Radej |
53a8d80 |
props.setProperty("command", command.toString());
|
|
Tomas Radej |
53a8d80 |
- Event event = new Event("org/apache/felix/service/command/EXECUTING", props);
|
|
Tomas Radej |
53a8d80 |
+ Event event = new Event("org/apache/felix/service/command/EXECUTING", (Dictionary)props);
|
|
Tomas Radej |
53a8d80 |
admin.postEvent(event);
|
|
Tomas Radej |
53a8d80 |
}
|
|
Tomas Radej |
53a8d80 |
}
|