Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kurtakov2020-01-14 11:38:02 +0000
committerAlexander Kurtakov2020-01-14 11:38:02 +0000
commit4d9b3a851bc877af780577fa4f096976399c121b (patch)
tree0b7b4577416def48105a066b5861113330376d7f /bundles/org.eclipse.osgi.tests/bundles_src/test.protocol.handler/test/protocol/handler/Activator.java
parentdcb22c2837aa404f962f53a04e8e48473b9178fc (diff)
downloadrt.equinox.framework-4d9b3a851bc877af780577fa4f096976399c121b.tar.gz
rt.equinox.framework-4d9b3a851bc877af780577fa4f096976399c121b.tar.xz
rt.equinox.framework-4d9b3a851bc877af780577fa4f096976399c121b.zip
Remove redundant type arguments in osgi.tests.I20200114-1805
Change-Id: I192d24bf559330e059993971c662aac11f1c2cf6 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
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