Reduce ObjectRegistration use
[mdsal.git] / binding / mdsal-binding-dom-adapter / src / main / java / org / opendaylight / mdsal / binding / dom / adapter / BindingDOMNotificationServiceAdapter.java
index 6b4dd076428533bb69c213cdc71f31f0d31b1c4c..10c5040a0a7bfdff79c1b65f8673073823e2b830 100644 (file)
@@ -64,13 +64,13 @@ public class BindingDOMNotificationServiceAdapter implements NotificationService
         }
 
         @Override
-        protected NotificationService createInstance(final ClassToInstanceMap<DOMService> delegates) {
+        protected NotificationService createInstance(final ClassToInstanceMap<DOMService<?, ?>> delegates) {
             return new BindingDOMNotificationServiceAdapter(adapterContext(),
                 delegates.getInstance(DOMNotificationService.class));
         }
 
         @Override
-        public Set<? extends Class<? extends DOMService>> getRequiredDelegates() {
+        public Set<? extends Class<? extends DOMService<?, ?>>> getRequiredDelegates() {
             return ImmutableSet.of(DOMNotificationService.class);
         }
     }