Use constructor injection in OSGiDistributedDataStore 50/109450/1
authorRobert Varga <robert.varga@pantheon.tech>
Thu, 28 Dec 2023 21:27:36 +0000 (22:27 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Thu, 28 Dec 2023 21:28:16 +0000 (22:28 +0100)
commit901c6bb2c8321739b54c4b20c32ef214fe02102e
tree202f243984018e623164b60e45944410bae098a5
parent88192bd72decaef3fa28071ed68987e8a83f36b0
Use constructor injection in OSGiDistributedDataStore

Upgraded SpotBugs does not like unitialized fields. Use constructor
injection to properly set them up.

Change-Id: I8d5226a8b0b6b2929eba3d4d9a73ac8e1c72613a
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/OSGiDistributedDataStore.java