Package: felix-gogo-runtime / 0.16.2-1.1

ambiguous_reference_Event.diff Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Description: Add a cast to java.util.Dictionary
 to remove "ambiguous reference" error message
 during javac.
Author: Damien Raude-Morvan <drazzib@debian.org>
Last-Update: 2011-11-06
Forwarded: no

Index: b/src/main/java/org/apache/felix/gogo/runtime/activator/EventAdminListener.java
===================================================================
--- a/src/main/java/org/apache/felix/gogo/runtime/activator/EventAdminListener.java
+++ b/src/main/java/org/apache/felix/gogo/runtime/activator/EventAdminListener.java
@@ -45,7 +45,7 @@
         if (admin != null) {
             Properties props = new Properties();
             props.setProperty("command", command.toString());
-            Event event = new Event("org/apache/felix/service/command/EXECUTING", props);
+            Event event = new Event("org/apache/felix/service/command/EXECUTING", (java.util.Dictionary) props);
             admin.postEvent(event);
         }
     }