directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: r1063030 - /directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/message/LdapEncoder.java
Date Mon, 24 Jan 2011 22:23:43 GMT
Author: akarasulu
Date: Mon Jan 24 22:23:42 2011
New Revision: 1063030

URL: http://svn.apache.org/viewvc?rev=1063030&view=rev
Log:
fixing some complaints in IDEA

Modified:
    directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/message/LdapEncoder.java

Modified: directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/message/LdapEncoder.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/message/LdapEncoder.java?rev=1063030&r1=1063029&r2=1063030&view=diff
==============================================================================
--- directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/message/LdapEncoder.java
(original)
+++ directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/message/LdapEncoder.java
Mon Jan 24 22:23:42 2011
@@ -145,6 +145,8 @@ public class LdapEncoder
      * MessageId length = Length(0x02) + length(MessageId) + MessageId.length 
      * L1 = length(ProtocolOp) 
      * LdapMessage length = Length(0x30) + Length(L1) + MessageId length + L1
+     *
+     * @param message the Message who's length is to be encoded
      */
     private int computeMessageLength( Message message )
     {
@@ -1572,8 +1574,9 @@ public class LdapEncoder
      * [0x87 LL serverSaslCreds]
      * </pre>
      * 
-     * @param buffer The buffer where to put the PDU
-     * @return The PDU.
+     * @param bb The buffer where to put the PDU
+     * @param bindResponse The BindResponse to encode
+     * @throws EncoderException when encoding operations fail
      */
     private void encodeBindResponse( ByteBuffer bb, BindResponseImpl bindResponse ) throws
EncoderException
     {



Mime
View raw message