Fix a few warnings 21/104721/1
authorRobert Varga <robert.varga@pantheon.tech>
Thu, 2 Mar 2023 13:07:10 +0000 (14:07 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Thu, 2 Mar 2023 13:07:10 +0000 (14:07 +0100)
commit0a25373f9b4ccf115ca617d5c2e03f353aa06c04
tree837f31a9573ab6672c81da9717fb1161a7bd8198
parent999457fc8533011c3ec721edf67695bd5f5d4944
Fix a few warnings

Eclipse complains about unaccessed field, which we need for
serialization -- fix that by exposing the class to the entire package.

Also use local variable type inference to remove nullness warning.

Change-Id: Ib37d8e6b5d535c68eb578a67ac980e5de370c94f
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
opendaylight/md-sal/sal-akka-segmented-journal/src/main/java/org/opendaylight/controller/akka/segjournal/DataJournalV0.java
opendaylight/md-sal/sal-akka-segmented-journal/src/test/java/org/opendaylight/controller/akka/segjournal/SegmentedFileJournalTest.java