Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'bundles/org.eclipse.osgi.tests/bundles_src/test.protocol.handler/test/protocol/handler/Activator.java')
-rw-r--r--bundles/org.eclipse.osgi.tests/bundles_src/test.protocol.handler/test/protocol/handler/Activator.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.osgi.tests/bundles_src/test.protocol.handler/test/protocol/handler/Activator.java b/bundles/org.eclipse.osgi.tests/bundles_src/test.protocol.handler/test/protocol/handler/Activator.java
index ce79a297d..5c095d3f4 100644
--- a/bundles/org.eclipse.osgi.tests/bundles_src/test.protocol.handler/test/protocol/handler/Activator.java
+++ b/bundles/org.eclipse.osgi.tests/bundles_src/test.protocol.handler/test/protocol/handler/Activator.java
@@ -28,7 +28,7 @@ public class Activator extends AbstractURLStreamHandlerService implements Bundle
@Override
public void start(BundleContext context) throws Exception {
bc = context;
- Dictionary<String, String> props = new Hashtable<String, String>();
+ Dictionary<String, String> props = new Hashtable<>();
props.put(URLConstants.URL_HANDLER_PROTOCOL, "testing1");
context.registerService(URLStreamHandlerService.class, this, props);
}

Back to the top