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 2018/06/01 14:18:33 UTC
[directory-ldap-api] branch 1.0.1 updated: Removed dead code
This is an automated email from the ASF dual-hosted git repository.
elecharny pushed a commit to branch 1.0.1
in repository https://gitbox.apache.org/repos/asf/directory-ldap-api.git
The following commit(s) were added to refs/heads/1.0.1 by this push:
new 49ac15a Removed dead code
49ac15a is described below
commit 49ac15a96c3e8229d53a3a7e480e73e97f6de133
Author: Emmanuel Lécharny <el...@symas.com>
AuthorDate: Fri Jun 1 16:18:21 2018 +0200
Removed dead code
---
.../apache/directory/ldap/client/api/LdapNetworkConnection.java | 7 -------
1 file changed, 7 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 948b8ae..6c2536d 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
@@ -4290,13 +4290,6 @@ public class LdapNetworkConnection extends AbstractLdapConnection implements Lda
*/
private void writeRequest( Request request ) throws LdapException
{
- // If we are meant to be using a secure connection but the ssl filter isn' in the filter chain then
- // throw immediately
- /*if ( config.isUseSsl() && !ldapSession.isSecured() )
- {
- throw new InvalidConnectionException( "Attempting to send over an insecure connection" );
- }*/
-
// Send the request to the server
WriteFuture writeFuture = ldapSession.write( request );
--
To stop receiving notification emails like this one, please contact
elecharny@apache.org.