Make LazySerializedDOMNotification a DOMEvent 79/81579/3
authorRobert Varga <robert.varga@pantheon.tech>
Thu, 11 Apr 2019 20:10:16 +0000 (22:10 +0200)
committerRobert Varga <nite@hq.sk>
Wed, 17 Apr 2019 14:25:21 +0000 (14:25 +0000)
commit2188563bd18dccb50bbbfa13235ca4955c7eb7dc
tree68cfa97953bef1b86a634ac9aa2f6058c6009648
parent3a1da8e23805b36351172eeb7f11bc134821ee36
Make LazySerializedDOMNotification a DOMEvent

DOMEvent carries the information about when the event occurred,
make sure we propagate it when available and backfill it on
submission.

It also retrofits some @NonNull annotations to make it clear we
are not propagating nulls.

JIRA: MDSAL-282
Change-Id: I2153b007af2accbad41f5aea00dbced21030a67d
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
binding/mdsal-binding-dom-adapter/src/main/java/org/opendaylight/mdsal/binding/dom/adapter/BindingDOMNotificationPublishServiceAdapter.java
binding/mdsal-binding-dom-adapter/src/main/java/org/opendaylight/mdsal/binding/dom/adapter/LazySerializedDOMNotification.java
binding/mdsal-binding-dom-adapter/src/test/java/org/opendaylight/mdsal/binding/dom/adapter/LazySerializedDOMNotificationTest.java