This is an automated email from the ASF dual-hosted git repository.

tabish pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/qpid-protonj2.git


The following commit(s) were added to refs/heads/main by this push:
     new 8fce9db  PROTON-2398 Fix typo on internal variable naming
8fce9db is described below

commit 8fce9dbed10563759eecb53fc2c9c1ebde749aac
Author: Timothy Bish <tabish...@gmail.com>
AuthorDate: Wed Jun 23 15:10:20 2021 -0400

    PROTON-2398 Fix typo on internal variable naming
---
 .../org/apache/qpid/protonj2/client/ConnectionOptions.java   | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git 
a/protonj2-client/src/main/java/org/apache/qpid/protonj2/client/ConnectionOptions.java
 
b/protonj2-client/src/main/java/org/apache/qpid/protonj2/client/ConnectionOptions.java
index 1a550d2..d0170a6 100644
--- 
a/protonj2-client/src/main/java/org/apache/qpid/protonj2/client/ConnectionOptions.java
+++ 
b/protonj2-client/src/main/java/org/apache/qpid/protonj2/client/ConnectionOptions.java
@@ -68,7 +68,7 @@ public class ConnectionOptions {
     private String virtualHost;
     private boolean traceFrames;
 
-    private BiConsumer<Connection, ConnectionEvent> connectedhedHandler;
+    private BiConsumer<Connection, ConnectionEvent> connectedHandler;
     private BiConsumer<Connection, DisconnectionEvent> disconnectedHandler;
     private BiConsumer<Connection, DisconnectionEvent> interruptedHandler;
     private BiConsumer<Connection, ConnectionEvent> reconnectedHandler;
@@ -118,7 +118,7 @@ public class ConnectionOptions {
         other.user(user);
         other.password(password);
         other.traceFrames(traceFrames);
-        other.connectedHandler(connectedhedHandler);
+        other.connectedHandler(connectedHandler);
         other.interruptedHandler(interruptedHandler);
         other.reconnectedHandler(reconnectedHandler);
         other.disconnectedHandler(disconnectedHandler);
@@ -673,7 +673,7 @@ public class ConnectionOptions {
      * @return the connection established handler that is currently registered
      */
     public BiConsumer<Connection, ConnectionEvent> connectedHandler() {
-        return connectedhedHandler;
+        return connectedHandler;
     }
 
     /**
@@ -692,7 +692,7 @@ public class ConnectionOptions {
      * @see #reconnectedHandler
      */
     public ConnectionOptions connectedHandler(BiConsumer<Connection, 
ConnectionEvent> connectedHandler) {
-        this.connectedhedHandler = connectedHandler;
+        this.connectedHandler = connectedHandler;
         return this;
     }
 
@@ -715,7 +715,7 @@ public class ConnectionOptions {
      *
      * @return this {@link ReconnectOptions} instance.
      *
-     * @see #connectedhedHandler
+     * @see #connectedHandler
      * @see #reconnectedHandler
      * @see #disconnectedHandler
      */
@@ -741,7 +741,7 @@ public class ConnectionOptions {
      *
      * @return this {@link ReconnectOptions} instance.
      *
-     * @see #connectedhedHandler
+     * @see #connectedHandler
      * @see #interruptedHandler
      * @see #disconnectedHandler
      */

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@qpid.apache.org
For additional commands, e-mail: commits-h...@qpid.apache.org

Reply via email to