directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1801672 - /directory/shared/branches/shared-value/ldap/client/api/src/main/java/org/apache/directory/ldap/client/api/LdapNetworkConnection.java
Date Wed, 12 Jul 2017 03:39:08 GMT
Author: elecharny
Date: Wed Jul 12 03:39:08 2017
New Revision: 1801672

URL: http://svn.apache.org/viewvc?rev=1801672&view=rev
Log:
Imroved logs

Modified:
    directory/shared/branches/shared-value/ldap/client/api/src/main/java/org/apache/directory/ldap/client/api/LdapNetworkConnection.java

Modified: directory/shared/branches/shared-value/ldap/client/api/src/main/java/org/apache/directory/ldap/client/api/LdapNetworkConnection.java
URL: http://svn.apache.org/viewvc/directory/shared/branches/shared-value/ldap/client/api/src/main/java/org/apache/directory/ldap/client/api/LdapNetworkConnection.java?rev=1801672&r1=1801671&r2=1801672&view=diff
==============================================================================
--- directory/shared/branches/shared-value/ldap/client/api/src/main/java/org/apache/directory/ldap/client/api/LdapNetworkConnection.java
(original)
+++ directory/shared/branches/shared-value/ldap/client/api/src/main/java/org/apache/directory/ldap/client/api/LdapNetworkConnection.java
Wed Jul 12 03:39:08 2017
@@ -563,7 +563,7 @@ public class LdapNetworkConnection exten
 
     private void addToFutureMap( int messageId, ResponseFuture<? extends Response>
future )
     {
-        LOG.debug( "Adding <" + messageId + ", " + future.getClass().getName() + ">"
);
+        LOG.debug( "Adding <{}, {}>", messageId, future.getClass().getName()  );
         futureMap.put( messageId, future );
     }
 
@@ -574,7 +574,7 @@ public class LdapNetworkConnection exten
 
         if ( future != null )
         {
-            LOG.debug( "Removing <" + messageId + ", " + future.getClass().getName() +
">" );
+            LOG.debug( "Removing <{}, {}>", messageId, future.getClass().getName()
);
         }
 
         return future;



Mime
View raw message