fix unchecked warn

This commit is contained in:
gtully 2015-07-09 15:09:32 +01:00
parent 21fb802260
commit 0f4320d00f
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ public class OsgiConfiguration extends AbstractConfiguration implements ManagedS
public OsgiConfiguration() { public OsgiConfiguration() {
BundleContext context = FrameworkUtil.getBundle(getClass()).getBundleContext(); 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"); properties.put(Constants.SERVICE_PID, "org.apache.activemq.webconsole");
service = context.registerService(ManagedService.class.getName(), service = context.registerService(ManagedService.class.getName(),
this, properties); this, properties);