directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r993022 - /directory/clients/ldap/trunk/ldap-client-api/src/main/java/org/apache/directory/ldap/client/api/protocol/LdapProtocolDecoder.java
Date Mon, 06 Sep 2010 13:23:05 GMT
Author: elecharny
Date: Mon Sep  6 13:23:05 2010
New Revision: 993022

URL: http://svn.apache.org/viewvc?rev=993022&view=rev
Log:
Replaced a System.out.println by a LOG.debug. This will fix DIRAPI-23

Modified:
    directory/clients/ldap/trunk/ldap-client-api/src/main/java/org/apache/directory/ldap/client/api/protocol/LdapProtocolDecoder.java

Modified: directory/clients/ldap/trunk/ldap-client-api/src/main/java/org/apache/directory/ldap/client/api/protocol/LdapProtocolDecoder.java
URL: http://svn.apache.org/viewvc/directory/clients/ldap/trunk/ldap-client-api/src/main/java/org/apache/directory/ldap/client/api/protocol/LdapProtocolDecoder.java?rev=993022&r1=993021&r2=993022&view=diff
==============================================================================
--- directory/clients/ldap/trunk/ldap-client-api/src/main/java/org/apache/directory/ldap/client/api/protocol/LdapProtocolDecoder.java
(original)
+++ directory/clients/ldap/trunk/ldap-client-api/src/main/java/org/apache/directory/ldap/client/api/protocol/LdapProtocolDecoder.java
Mon Sep  6 13:23:05 2010
@@ -22,8 +22,8 @@ package org.apache.directory.ldap.client
 
 import java.nio.ByteBuffer;
 
-import org.apache.directory.shared.asn1.ber.Asn1Decoder;
 import org.apache.directory.shared.asn1.ber.Asn1Container;
+import org.apache.directory.shared.asn1.ber.Asn1Decoder;
 import org.apache.directory.shared.asn1.ber.tlv.TLVStateEnum;
 import org.apache.directory.shared.asn1.codec.DecoderException;
 import org.apache.directory.shared.ldap.codec.LdapMessageContainer;
@@ -83,7 +83,7 @@ public class LdapProtocolDecoder impleme
 
                     System.arraycopy( buf.array(), currentPos, b, 0, pos - currentPos );
                     currentPos = pos;
-                    System.out.println( "Received buffer : " + StringTools.dumpBytes( b )
);
+                    LOG.debug( "Received buffer : " + StringTools.dumpBytes( b ) );
                 }
 
                 if ( ldapMessageContainer.getState() == TLVStateEnum.PDU_DECODED )



Mime
View raw message