Clean up NetconfDeviceSimulator.addModuleCapability() 66/103166/1
authorRobert Varga <robert.varga@pantheon.tech>
Tue, 8 Nov 2022 20:21:37 +0000 (21:21 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Tue, 8 Nov 2022 20:52:42 +0000 (21:52 +0100)
commit5e22412702965a754fc0e392f263416365e0a4df
treefd600e8020086788364abb5e920925e9c9048a11
parent33e564153df27586c29de292ca62f0b9f16c4e58
Clean up NetconfDeviceSimulator.addModuleCapability()

Use local variable type inference to shorten the code. Also use
different messages for acquire and read.

Change-Id: Ic429328469271419478e93e24bf02044d0ff6a8a
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
netconf/tools/netconf-testtool/src/main/java/org/opendaylight/netconf/test/tool/NetconfDeviceSimulator.java