Make sure NetconfSessionPreferences are immutable 09/103609/16
authorRobert Varga <robert.varga@pantheon.tech>
Tue, 6 Dec 2022 10:46:30 +0000 (11:46 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Thu, 8 Dec 2022 01:21:24 +0000 (02:21 +0100)
commite6bdcc594cad0a584619c82d3e5b1883c888bbe7
tree800e1f842855fb280e4f8de173a8a14fd49f368e
parentc30ef416814c2c320b94d92717fbe9c96f95c8db
Make sure NetconfSessionPreferences are immutable

Make sure internal maps are immutable and juggle things around a bit for
clarity -- especially NetconfDeviceCapabilities which was hiding at the
very bottom of the file.

JIRA: NETCONF-920
Change-Id: Ice1224ad2291912221c321d74ac7e2e66439cb89
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
netconf/sal-netconf-connector/src/main/java/org/opendaylight/netconf/sal/connect/netconf/listener/NetconfSessionPreferences.java