You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by ak...@apache.org on 2011/01/31 23:06:13 UTC

svn commit: r1065824 - /directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/search/controls/subentries/SubentriesFactory.java

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 );