directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: r1065824 - /directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/search/controls/subentries/SubentriesFactory.java
Date Mon, 31 Jan 2011 22:06:13 GMT
Author: akarasulu
Date: Mon Jan 31 22:06:12 2011
New Revision: 1065824

URL: http://svn.apache.org/viewvc?rev=1065824&view=rev
Log:
adding doco and removing useless member (redundant)

Modified:
    directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/search/controls/subentries/SubentriesFactory.java

Modified: directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/search/controls/subentries/SubentriesFactory.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/search/controls/subentries/SubentriesFactory.java?rev=1065824&r1=1065823&r2=1065824&view=diff
==============================================================================
--- directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/search/controls/subentries/SubentriesFactory.java
(original)
+++ directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/search/controls/subentries/SubentriesFactory.java
Mon Jan 31 22:06:12 2011
@@ -42,32 +42,55 @@ import org.apache.directory.shared.ldap.
  */
 public class SubentriesFactory implements IControlFactory<Subentries, SubentriesDecorator>
 {
+    /** The LDAP codec service */
     private ILdapCodecService codec;
     
     
+    /**
+     * Creates a new instance of SubentriesFactory.
+     *
+     * @param codec
+     */
     public SubentriesFactory( ILdapCodecService codec )
     {
         this.codec = codec;
     }
     
+    
+    /**
+     * 
+     * {@inheritDoc}
+     */
     public String getOid()
     {
         return Subentries.OID;
     }
 
     
+    /**
+     * 
+     * {@inheritDoc}
+     */
     public SubentriesDecorator newCodecControl()
     {
         return new SubentriesDecorator( codec );
     }
 
 
+    /**
+     * 
+     * {@inheritDoc}
+     */
     public Subentries newControl()
     {
         return new SubentriesImpl();
     }
 
     
+    /**
+     * 
+     * {@inheritDoc}
+     */
     public SubentriesDecorator decorate( Subentries control )
     {
         if ( ! control.getOid().equals( Subentries.OID ) )
@@ -79,6 +102,10 @@ public class SubentriesFactory implement
     }
     
 
+    /**
+     * 
+     * {@inheritDoc}
+     */
     public Control toJndiControl( Subentries control ) throws EncoderException
     {
         SubentriesDecorator decorator = null;
@@ -100,6 +127,10 @@ public class SubentriesFactory implement
     }
     
 
+    /**
+     * 
+     * {@inheritDoc}
+     */
     public Subentries fromJndiControl( Control control ) throws DecoderException
     {
         SubentriesDecorator decorator = new SubentriesDecorator( codec );



Mime
View raw message