diff options
Diffstat (limited to 'dev-java/felix-gogo-runtime/files/felix-gogo-runtime-0.10.0-event-properties-to-map.patch')
-rw-r--r-- | dev-java/felix-gogo-runtime/files/felix-gogo-runtime-0.10.0-event-properties-to-map.patch | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/dev-java/felix-gogo-runtime/files/felix-gogo-runtime-0.10.0-event-properties-to-map.patch b/dev-java/felix-gogo-runtime/files/felix-gogo-runtime-0.10.0-event-properties-to-map.patch deleted file mode 100644 index ae2e67cf3abe..000000000000 --- a/dev-java/felix-gogo-runtime/files/felix-gogo-runtime-0.10.0-event-properties-to-map.patch +++ /dev/null @@ -1,22 +0,0 @@ ---- src/main/java/org/apache/felix/gogo/runtime/activator/EventAdminListener.java 2013-05-13 13:40:57.071766332 +0200 -+++ src/main/java/org/apache/felix/gogo/runtime/activator/EventAdminListener.java.2 2013-05-13 13:41:30.725096685 +0200 -@@ -18,7 +18,7 @@ - */ - package org.apache.felix.gogo.runtime.activator; - --import java.util.Properties; -+import java.util.HashMap; - - import org.apache.felix.gogo.api.CommandSessionListener; - import org.apache.felix.service.command.CommandSession; -@@ -43,8 +43,8 @@ - public void beforeExecute(CommandSession session, CharSequence command) { - EventAdmin admin = (EventAdmin) tracker.getService(); - if (admin != null) { -- Properties props = new Properties(); -- props.setProperty("command", command.toString()); -+ HashMap<String, String> props = new HashMap<String, String>(); -+ props.put(new String("command"), command.toString()); - Event event = new Event("org/apache/felix/service/command/EXECUTING", props); - admin.postEvent(event); - } |