Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Watson2010-12-08 14:20:52 +0000
committerThomas Watson2010-12-08 14:20:52 +0000
commit311e3ccb6a9597f260c35cf936c1ad704c0805f3 (patch)
treebd9c12cdb61f4564cd2fa00b00c0930a56db9732 /bundles/org.eclipse.equinox.weaving.caching
parenta84047e1e749693811be3f368f917bdb154a5f5d (diff)
downloadrt.equinox.bundles-311e3ccb6a9597f260c35cf936c1ad704c0805f3.tar.gz
rt.equinox.bundles-311e3ccb6a9597f260c35cf936c1ad704c0805f3.tar.xz
rt.equinox.bundles-311e3ccb6a9597f260c35cf936c1ad704c0805f3.zip
Bug 325955 - New warnings in build about generic APIs in OSGi
Diffstat (limited to 'bundles/org.eclipse.equinox.weaving.caching')
-rw-r--r--bundles/org.eclipse.equinox.weaving.caching/src/org/eclipse/equinox/weaving/internal/caching/Activator.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/bundles/org.eclipse.equinox.weaving.caching/src/org/eclipse/equinox/weaving/internal/caching/Activator.java b/bundles/org.eclipse.equinox.weaving.caching/src/org/eclipse/equinox/weaving/internal/caching/Activator.java
index fb56c9f58..bec69665a 100644
--- a/bundles/org.eclipse.equinox.weaving.caching/src/org/eclipse/equinox/weaving/internal/caching/Activator.java
+++ b/bundles/org.eclipse.equinox.weaving.caching/src/org/eclipse/equinox/weaving/internal/caching/Activator.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2008 Heiko Seeberger and others.
+ * Copyright (c) 2008, 2010 Heiko Seeberger and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -35,7 +35,7 @@ public class Activator implements BundleActivator {
private CachingServiceFactory cachingServiceFactory;
- private ServiceRegistration cachingServiceFactoryRegistration;
+ private ServiceRegistration<?> cachingServiceFactoryRegistration;
/**
* Registers a new {@link CachingServiceFactory} instance as OSGi service
@@ -82,7 +82,7 @@ public class Activator implements BundleActivator {
}
private void setDebugEnabled(final BundleContext bundleContext) {
- final ServiceReference debugOptionsReference = bundleContext
+ final ServiceReference<?> debugOptionsReference = bundleContext
.getServiceReference(DebugOptions.class.getName());
if (debugOptionsReference != null) {
final DebugOptions debugOptions = (DebugOptions) bundleContext

Back to the top