AbstractNetconfSessionNegotiator uses only NetconfHelloMessage 43/101443/3
authorRobert Varga <robert.varga@pantheon.tech>
Thu, 2 Jun 2022 18:24:23 +0000 (20:24 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Thu, 2 Jun 2022 19:24:56 +0000 (21:24 +0200)
commit60a15ce528aa431e60e14e6f414486e35fcdb1c6
tree11956c9f24545d27f6c22870659c158246b193bf
parent3343512c3067aa9daaf5092793dbdbfe0f2408e3
AbstractNetconfSessionNegotiator uses only NetconfHelloMessage

We have a bit over-zealous use of NetconfSessionPreferences. We really
just need the hello message for negotiation -- reducing the need to
have a generic parameter, which is only causing issues with SpotBugs.

JIRA: NETCONF-590
Change-Id: I7437fda181a447fe740aeed514c0eb3a779002e8
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
netconf/netconf-client/src/main/java/org/opendaylight/netconf/client/NetconfClientSessionNegotiator.java
netconf/netconf-impl/src/main/java/org/opendaylight/netconf/impl/NetconfServerSessionNegotiator.java
netconf/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/AbstractNetconfSessionNegotiator.java
netconf/netconf-netty-util/src/test/java/org/opendaylight/netconf/nettyutil/AbstractNetconfSessionNegotiatorTest.java
netconf/netconf-netty-util/src/test/java/org/opendaylight/netconf/nettyutil/Netconf539Test.java
netconf/netconf-netty-util/src/test/java/org/opendaylight/netconf/nettyutil/TestSessionNegotiator.java