Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37732099
en ru br
Репозитории ALT
S:1.1.4-alt1_1jpp11
www.altlinux.org/Changes

Группа :: Разработка/Java
Пакет: felix-gogo-runtime

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: felix-gogo-runtime-dictionary.patch
Скачать


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
index 2368ce1..dab9269 100644
--- a/src/main/java/org/apache/felix/gogo/runtime/activator/EventAdminListener.java
+++ b/src/main/java/org/apache/felix/gogo/runtime/activator/EventAdminListener.java
@@ -19,6 +19,7 @@
 package org.apache.felix.gogo.runtime.activator;
 
 import java.util.Properties;
+import java.util.Dictionary;
 
 import org.apache.felix.gogo.api.CommandSessionListener;
 import org.apache.felix.service.command.CommandSession;
@@ -45,7 +46,7 @@ public class EventAdminListener implements CommandSessionListener
         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", (Dictionary)props);
             admin.postEvent(event);
         }
     }
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin