mirror of https://github.com/apache/activemq.git
fix unchecked warn
This commit is contained in:
parent
21fb802260
commit
0f4320d00f
|
@ -44,7 +44,7 @@ public class OsgiConfiguration extends AbstractConfiguration implements ManagedS
|
|||
public OsgiConfiguration() {
|
||||
|
||||
BundleContext context = FrameworkUtil.getBundle(getClass()).getBundleContext();
|
||||
Dictionary properties = new Hashtable();
|
||||
Dictionary<String, String> properties = new Hashtable<String, String>();
|
||||
properties.put(Constants.SERVICE_PID, "org.apache.activemq.webconsole");
|
||||
service = context.registerService(ManagedService.class.getName(),
|
||||
this, properties);
|
||||
|
|
Loading…
Reference in New Issue