Make getSessionPreferences() final 18/101418/1
authorRobert Varga <robert.varga@pantheon.tech>
Wed, 1 Jun 2022 18:07:18 +0000 (20:07 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Wed, 1 Jun 2022 18:07:18 +0000 (20:07 +0200)
This method should be final so we can rely on it.

Change-Id: I5b3c75a65ade7147e6e65528a64bbbc9a1467d6c
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
netconf/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/AbstractNetconfSessionNegotiator.java

index ee98febb6d6a587d4f6fb0690295821fcbabeffc..a89a0561e0c7d647f71671b3a173b354cccc6c1c 100644 (file)
@@ -102,7 +102,7 @@ public abstract class AbstractNetconfSessionNegotiator<P extends NetconfSessionP
         return Optional.ofNullable(channel.pipeline().get(SslHandler.class));
     }
 
-    public P getSessionPreferences() {
+    public final P getSessionPreferences() {
         return sessionPreferences;
     }