Remove unused parameter in CallHomeSessionContext.java 79/101779/13
authorIvan Martiniak <ivan.martiniak@pantheon.tech>
Fri, 8 Jul 2022 12:24:51 +0000 (14:24 +0200)
committerIvan Martiniak <ivan.martiniak@pantheon.tech>
Tue, 30 Aug 2022 08:46:52 +0000 (08:46 +0000)
commit143edc0cedbe3f3f3f7942546d21549c35089277
tree0fb4e45907ae8dd2828778243c5515e2c03da61f
parent732e0d55a495af5c04cbcbbe6de1e6ab891001c8
Remove unused parameter in CallHomeSessionContext.java

Parameter in the constructor 'final SocketAddress remoteAddress'
was marked as unused.
Method and tests related to this constructor were adjusted.

Resolved FIXME: Enable test
failureToOpenTheChannelShouldCauseTheSessionToClose().
Mock-maker-inline is used to be able to successfully run this test.

JIRA: NETCONF-681
Change-Id: Ifd8a76c6edcf801e432b7b925873806014b43b1a
Signed-off-by: Ivan Martiniak <ivan.martiniak@pantheon.tech>
netconf/callhome-protocol/src/main/java/org/opendaylight/netconf/callhome/protocol/CallHomeSessionContext.java
netconf/callhome-protocol/src/main/java/org/opendaylight/netconf/callhome/protocol/NetconfCallHomeServer.java
netconf/callhome-protocol/src/test/java/org/opendaylight/netconf/callhome/protocol/CallHomeSessionContextTest.java
netconf/callhome-protocol/src/test/java/org/opendaylight/netconf/callhome/protocol/NetconfCallHomeServerTest.java
netconf/callhome-protocol/src/test/resources/mockito-extensions/org.mockito.plugins.MockMaker [new file with mode: 0644]