directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1065439 - /directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/BasicControlDecorator.java
Date Mon, 31 Jan 2011 00:17:25 GMT
Author: elecharny
Date: Mon Jan 31 00:17:24 2011
New Revision: 1065439

URL: http://svn.apache.org/viewvc?rev=1065439&view=rev
Log:
Makes the BasicControlDecorator extends ControlDecorator

Modified:
    directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/BasicControlDecorator.java

Modified: directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/BasicControlDecorator.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/BasicControlDecorator.java?rev=1065439&r1=1065438&r2=1065439&view=diff
==============================================================================
--- directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/BasicControlDecorator.java
(original)
+++ directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/BasicControlDecorator.java
Mon Jan 31 00:17:24 2011
@@ -25,6 +25,7 @@ import java.nio.ByteBuffer;
 import org.apache.directory.shared.asn1.Asn1Object;
 import org.apache.directory.shared.asn1.DecoderException;
 import org.apache.directory.shared.asn1.EncoderException;
+import org.apache.directory.shared.ldap.codec.controls.ControlDecorator;
 import org.apache.directory.shared.ldap.model.message.controls.BasicControl;
 
 
@@ -34,7 +35,7 @@ import org.apache.directory.shared.ldap.
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  * @version $Rev$, $Date$
  */
-public class BasicControlDecorator implements ICodecControl<BasicControl>, IDecorator<BasicControl>
+public class BasicControlDecorator extends ControlDecorator<BasicControl>
 {
     private byte[] value;
     
@@ -44,8 +45,7 @@ public class BasicControlDecorator imple
     
     public BasicControlDecorator( ILdapCodecService codec, BasicControl control )
     {
-        this.codec = codec;
-        this.control = control;
+        super( codec, control );
     }
     
     



Mime
View raw message