Unmask NotificationListenerAdapter 02/96202/1
authorRobert Varga <robert.varga@pantheon.tech>
Mon, 17 May 2021 09:41:47 +0000 (11:41 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Mon, 17 May 2021 09:42:01 +0000 (11:42 +0200)
commitb68faee3996b8c364ab44d1bd4d7ae9dd6ad127c
treefa04d95ebb40ff8cd946bd8935bcdd226f5c06ac
parent8ed6ebb82669b7022858ce3b188198a00670e557
Unmask NotificationListenerAdapter

Use .orElseThrow() to acquire a nice instance, without needing to issue
multiple .get()s.

JIRA: NETCONF-773
Change-Id: If67fb5391642e437ce27c2d9f21688c875de4561
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
restconf/restconf-nb-rfc8040/src/main/java/org/opendaylight/restconf/nb/rfc8040/rests/services/impl/RestconfDataStreamServiceImpl.java