Integrate AbstractCommonSubscriber more tightly
[netconf.git] / restconf / restconf-nb-rfc8040 / src / main / java / org / opendaylight / restconf / nb / rfc8040 / streams / listeners / ListenersBroker.java
index ced7a1af512d5f268cf13a840c78f349dfcbfb3e..3b83c9022512c9e3817eb4a8ecafb17a35e6aa5b 100644 (file)
@@ -174,7 +174,7 @@ public final class ListenersBroker {
         final long stamp = notificationListenersLock.writeLock();
         try {
             return notificationListeners.computeIfAbsent(streamName,
-                stream -> new NotificationListenerAdapter(schemaPath, stream, outputType.getName()));
+                stream -> new NotificationListenerAdapter(schemaPath, stream, outputType));
         } finally {
             notificationListenersLock.unlockWrite(stamp);
         }