Fix spelling in NetconfDeviceCommunicator 83/97383/1
authorRobert Varga <robert.varga@pantheon.tech>
Fri, 3 Sep 2021 07:47:58 +0000 (09:47 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Fri, 3 Sep 2021 07:47:58 +0000 (09:47 +0200)
A few instances of confused spelling, fix that up.

Change-Id: I29b41296242043f7808b8da577474b82a431c2a9
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
netconf/sal-netconf-connector/src/main/java/org/opendaylight/netconf/sal/connect/netconf/listener/NetconfDeviceCommunicator.java

index 0f358273fb287347f052126e5ed8f20726306c7d..b3c1491946570fdab68088f625d8d9315b43af60 100644 (file)
@@ -145,8 +145,8 @@ public class NetconfDeviceCommunicator
      *
      * @param dispatcher {@code NetconfCLientDispatcher}
      * @param config     {@code NetconfClientConfiguration}
-     * @return future that returns succes on first succesfull connection and failure when the underlying
-     *     reconnecting strategy runs out of reconnection attempts
+     * @return a ListenableFuture that returns success on first successful connection and failure when the underlying
+     *         reconnecting strategy runs out of reconnection attempts
      */
     public ListenableFuture<NetconfDeviceCapabilities> initializeRemoteConnection(
             final NetconfClientDispatcher dispatcher, final NetconfClientConfiguration config) {
@@ -156,7 +156,6 @@ public class NetconfDeviceCommunicator
             initFuture = dispatcher.createClient(config);
         }
 
-
         initFuture.addListener(future -> {
             if (!future.isSuccess() && !future.isCancelled()) {
                 LOG.debug("{}: Connection failed", id, future.cause());