You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by el...@apache.org on 2023/03/27 07:01:34 UTC

[directory-ldap-api] branch master updated: Fix for DIRAPI-388

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

elecharny pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/directory-ldap-api.git


The following commit(s) were added to refs/heads/master by this push:
     new 3b3bddd94 Fix for DIRAPI-388
3b3bddd94 is described below

commit 3b3bddd949adbe7e502c387592e079799e226673
Author: emmanuel lecharny <el...@apache.org>
AuthorDate: Mon Mar 27 09:01:19 2023 +0200

    Fix for DIRAPI-388
---
 .../org/apache/directory/ldap/client/api/LdapNetworkConnection.java | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/ldap/client/api/src/main/java/org/apache/directory/ldap/client/api/LdapNetworkConnection.java b/ldap/client/api/src/main/java/org/apache/directory/ldap/client/api/LdapNetworkConnection.java
index e581163b8..bd7fd07c5 100644
--- a/ldap/client/api/src/main/java/org/apache/directory/ldap/client/api/LdapNetworkConnection.java
+++ b/ldap/client/api/src/main/java/org/apache/directory/ldap/client/api/LdapNetworkConnection.java
@@ -1336,7 +1336,7 @@ public class LdapNetworkConnection extends AbstractLdapConnection implements Lda
         ResponseFuture<? extends Response> rf = getFromFutureMap( abandonId );
 
         // if the listener is not null, this is a async operation and no need to
-        // send cancel signal on future, sending so will leave a dangling poision object in the corresponding queue
+        // send cancel signal on future, sending so will leave a dangling poison object in the corresponding queue
         // this is a sync operation send cancel signal to the corresponding ResponseFuture
         if ( rf != null )
         {
@@ -1350,9 +1350,9 @@ public class LdapNetworkConnection extends AbstractLdapConnection implements Lda
         else
         {
             // this shouldn't happen
-            if ( LOG.isWarnEnabled() )
+            if ( LOG.isInfoEnabled() )
             {
-                LOG.warn( I18n.msg( I18n.MSG_04165_NO_FUTURE_ASSOCIATED_TO_MSG_ID_COMPLETED, abandonId ) );
+                LOG.info( I18n.msg( I18n.MSG_04165_NO_FUTURE_ASSOCIATED_TO_MSG_ID_COMPLETED, abandonId ) );
             }
         }
     }