directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: r1062568 - in /directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/controls: AbstractControl.java CodecControlDecorator.java
Date Sun, 23 Jan 2011 23:07:25 GMT
Author: akarasulu
Date: Sun Jan 23 23:07:25 2011
New Revision: 1062568

URL: http://svn.apache.org/viewvc?rev=1062568&view=rev
Log:
cleanup docs

Modified:
    directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/controls/AbstractControl.java
    directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/controls/CodecControlDecorator.java

Modified: directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/controls/AbstractControl.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/controls/AbstractControl.java?rev=1062568&r1=1062567&r2=1062568&view=diff
==============================================================================
--- directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/controls/AbstractControl.java
(original)
+++ directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/controls/AbstractControl.java
Sun Jan 23 23:07:25 2011
@@ -93,7 +93,7 @@ public abstract class AbstractControl ex
     /**
      * Set the encoded control value
      * 
-     * @param encodedValue The encoded control value to store
+     * @param value The encoded control value to store
      */
     public void setValue( byte[] value )
     {
@@ -218,8 +218,8 @@ public abstract class AbstractControl ex
     {
         return decoder;
     }
-    
-    
+
+
     /**
      * @see Object#equals(Object)
      */
@@ -241,12 +241,12 @@ public abstract class AbstractControl ex
         }
 
         Control otherControl = ( Control ) o;
-        
+
         if ( !oid.equalsIgnoreCase( otherControl.getOid() ) )
         {
             return false;
         }
-        
+
         if ( criticality != otherControl.isCritical() )
         {
             return false;
@@ -264,8 +264,7 @@ public abstract class AbstractControl ex
         StringBuffer sb = new StringBuffer();
 
         sb.append( "    Control\n" );
-        sb.append( "        Control oid : '" ).append( oid ).append(
-            "'\n" );
+        sb.append( "        Control oid : '" ).append( oid ).append( "'\n" );
         sb.append( "        Criticality : '" ).append( criticality ).append( "'\n" );
 
         if ( value != null )

Modified: directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/controls/CodecControlDecorator.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/controls/CodecControlDecorator.java?rev=1062568&r1=1062567&r2=1062568&view=diff
==============================================================================
--- directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/controls/CodecControlDecorator.java
(original)
+++ directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/controls/CodecControlDecorator.java
Sun Jan 23 23:07:25 2011
@@ -265,8 +265,7 @@ public class CodecControlDecorator exten
         StringBuffer sb = new StringBuffer();
 
         sb.append( "    Control\n" );
-        sb.append( "        Control oid : '" ).append( getOid() ).append(
-            "'\n" );
+        sb.append( "        Control oid : '" ).append( getOid() ).append( "'\n" );
         sb.append( "        Criticality : '" ).append( isCritical() ).append( "'\n" );
 
         if ( getValue() != null )



Mime
View raw message