X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=netconf%2Fnetconf-client%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fnetconf%2Fclient%2FNetconfClientSessionNegotiator.java;h=1816fee0e041f119c0b545e37e4bf21055b2c585;hb=676b7818fd81f1322b7e8aa977271f3a3af397a6;hp=69dc1059b5535f8914c95c966b69e9ccaa451b68;hpb=8c4f05fff7e41debdda08c9132e84c602d1b87cb;p=netconf.git diff --git a/netconf/netconf-client/src/main/java/org/opendaylight/netconf/client/NetconfClientSessionNegotiator.java b/netconf/netconf-client/src/main/java/org/opendaylight/netconf/client/NetconfClientSessionNegotiator.java index 69dc1059b5..1816fee0e0 100644 --- a/netconf/netconf-client/src/main/java/org/opendaylight/netconf/client/NetconfClientSessionNegotiator.java +++ b/netconf/netconf-client/src/main/java/org/opendaylight/netconf/client/NetconfClientSessionNegotiator.java @@ -154,7 +154,7 @@ public class NetconfClientSessionNegotiator extends @Override protected NetconfClientSession getSession(final NetconfClientSessionListener sessionListener, final Channel channel, - final NetconfHelloMessage message) throws NetconfDocumentedException { + final NetconfHelloMessage message) { final long sessionId = extractSessionId(message.getDocument()); // Copy here is important: it disconnects the strings from the document