diff options
Diffstat (limited to 'bundles/org.eclipse.osgi.services/src/org/osgi/service/device/Driver.java')
-rw-r--r-- | bundles/org.eclipse.osgi.services/src/org/osgi/service/device/Driver.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bundles/org.eclipse.osgi.services/src/org/osgi/service/device/Driver.java b/bundles/org.eclipse.osgi.services/src/org/osgi/service/device/Driver.java index db46dfadf..d15f3a264 100644 --- a/bundles/org.eclipse.osgi.services/src/org/osgi/service/device/Driver.java +++ b/bundles/org.eclipse.osgi.services/src/org/osgi/service/device/Driver.java @@ -1,5 +1,5 @@ /* - * Copyright (c) OSGi Alliance (2000, 2013). All Rights Reserved. + * Copyright (c) OSGi Alliance (2000, 2015). All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -71,7 +71,7 @@ public interface Driver { * @throws java.lang.Exception if this Driver service cannot examine the * Device service */ - public int match(ServiceReference reference) throws Exception; + public int match(ServiceReference<?> reference) throws Exception; /** * Attaches this Driver service to the Device service represented by the @@ -104,5 +104,5 @@ public interface Driver { * @throws java.lang.Exception if the driver cannot attach to the given * device and does not know of a more suitable driver */ - public String attach(ServiceReference reference) throws Exception; + public String attach(ServiceReference<?> reference) throws Exception; } |