directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1509733 - /directory/shared/trunk/ldap/client/api/src/main/java/org/apache/directory/ldap/client/api/LdapNetworkConnection.java
Date Fri, 02 Aug 2013 15:12:29 GMT
Author: elecharny
Date: Fri Aug  2 15:12:28 2013
New Revision: 1509733

URL: http://svn.apache.org/r1509733
Log:
Stored the responseName into the extended request to be able to create the correct extendedResponse.

Modified:
    directory/shared/trunk/ldap/client/api/src/main/java/org/apache/directory/ldap/client/api/LdapNetworkConnection.java

Modified: directory/shared/trunk/ldap/client/api/src/main/java/org/apache/directory/ldap/client/api/LdapNetworkConnection.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/client/api/src/main/java/org/apache/directory/ldap/client/api/LdapNetworkConnection.java?rev=1509733&r1=1509732&r2=1509733&view=diff
==============================================================================
--- directory/shared/trunk/ldap/client/api/src/main/java/org/apache/directory/ldap/client/api/LdapNetworkConnection.java
(original)
+++ directory/shared/trunk/ldap/client/api/src/main/java/org/apache/directory/ldap/client/api/LdapNetworkConnection.java
Fri Aug  2 15:12:28 2013
@@ -3109,6 +3109,11 @@ public class LdapNetworkConnection exten
             // Decode the payload now
             resultResponse.getMessageId();
 
+            if ( Strings.isEmpty( response.getResponseName() ) )
+            {
+                response.setResponseName( extendedRequest.getRequestName() );
+            }
+
             ExtendedResponseDecorator<?> decoratedResponse = ldapApiService
                 .decorate( ( ExtendedResponse ) resultResponse );
 



Mime
View raw message