Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlyn Normington2010-12-07 09:25:18 -0500
committerGlyn Normington2010-12-07 09:25:18 -0500
commit169e4967d8f4350db29887e692f887ea45cf7e19 (patch)
treeca83d094723908031d73e1a803e88a8904acb316 /org.eclipse.virgo.kernel.services
parent8c0e7abff5c0ca925115ce702073048e9fd19ceb (diff)
downloadorg.eclipse.virgo.kernel-169e4967d8f4350db29887e692f887ea45cf7e19.tar.gz
org.eclipse.virgo.kernel-169e4967d8f4350db29887e692f887ea45cf7e19.tar.xz
org.eclipse.virgo.kernel-169e4967d8f4350db29887e692f887ea45cf7e19.zip
bug 330236: fix remaining Equinox 3.7 warnings
Diffstat (limited to 'org.eclipse.virgo.kernel.services')
-rw-r--r--org.eclipse.virgo.kernel.services/src/main/java/org/eclipse/virgo/kernel/services/work/WorkAreaServiceFactory.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/org.eclipse.virgo.kernel.services/src/main/java/org/eclipse/virgo/kernel/services/work/WorkAreaServiceFactory.java b/org.eclipse.virgo.kernel.services/src/main/java/org/eclipse/virgo/kernel/services/work/WorkAreaServiceFactory.java
index 31657aba..d96cfdb8 100644
--- a/org.eclipse.virgo.kernel.services/src/main/java/org/eclipse/virgo/kernel/services/work/WorkAreaServiceFactory.java
+++ b/org.eclipse.virgo.kernel.services/src/main/java/org/eclipse/virgo/kernel/services/work/WorkAreaServiceFactory.java
@@ -29,7 +29,7 @@ import org.osgi.framework.ServiceRegistration;
* Threadsafe.
*
*/
-public final class WorkAreaServiceFactory implements ServiceFactory {
+public final class WorkAreaServiceFactory implements ServiceFactory<WorkArea> {
private final File workDirectory;
@@ -37,10 +37,10 @@ public final class WorkAreaServiceFactory implements ServiceFactory {
this.workDirectory = workDirectory;
}
- public Object getService(Bundle bundle, ServiceRegistration registration) {
+ public WorkArea getService(Bundle bundle, ServiceRegistration<WorkArea> registration) {
return new StandardWorkArea(this.workDirectory, bundle);
}
- public void ungetService(Bundle bundle, ServiceRegistration registration, Object service) {
+ public void ungetService(Bundle bundle, ServiceRegistration<WorkArea> registration, WorkArea service) {
}
}

Back to the top