directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kayyag...@apache.org
Subject svn commit: r1032971 - /directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/schema/SchemaSubentryManager.java
Date Tue, 09 Nov 2010 12:48:04 GMT
Author: kayyagari
Date: Tue Nov  9 12:48:04 2010
New Revision: 1032971

URL: http://svn.apache.org/viewvc?rev=1032971&view=rev
Log:
o removing an unused method

Modified:
    directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/schema/SchemaSubentryManager.java

Modified: directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/schema/SchemaSubentryManager.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/schema/SchemaSubentryManager.java?rev=1032971&r1=1032970&r2=1032971&view=diff
==============================================================================
--- directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/schema/SchemaSubentryManager.java
(original)
+++ directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/schema/SchemaSubentryManager.java
Tue Nov  9 12:48:04 2010
@@ -196,44 +196,6 @@ public class SchemaSubentryManager
     }
     
     
-    /* (non-Javadoc)
-     * @see org.apache.directory.server.core.schema.SchemaChangeManager#modifySchemaSubentry(org.apache.directory.server.core.interceptor.context.ModifyOperationContext,
org.apache.directory.shared.ldap.name.DN, int, org.apache.directory.server.core.entry.Entry,
org.apache.directory.server.core.entry.Entry, org.apache.directory.server.core.entry.Entry,
boolean)
-     */
-    public void modifySchemaSubentry( ModifyOperationContext modifyContext, DN name, int
modOp, Entry mods, 
-        Entry subentry, Entry targetSubentry, boolean doCascadeModify ) throws Exception
-    {
-        Set<AttributeType> attributeTypes = mods.getAttributeTypes();
-        
-        switch ( modOp )
-        {
-            case( DirContext.ADD_ATTRIBUTE ):
-                for ( AttributeType attributeType:attributeTypes )
-                {
-                    modifyAddOperation( modifyContext, attributeType.getOid(), 
-                        mods.get( attributeType ), doCascadeModify );
-                }
-            
-                break;
-                
-            case( DirContext.REMOVE_ATTRIBUTE ):
-                for ( AttributeType attributeType:attributeTypes )
-                {
-                    modifyRemoveOperation( modifyContext, attributeType.getOid(), 
-                        mods.get( attributeType ) );
-                }
-            
-                break;
-                
-            case( DirContext.REPLACE_ATTRIBUTE ):
-                throw new LdapUnwillingToPerformException( ResultCodeEnum.UNWILLING_TO_PERFORM,

-                    I18n.err( I18n.ERR_283 ) );
-            
-            default:
-                throw new IllegalStateException( I18n.err( I18n.ERR_284, modOp ) );
-        }
-    }
-    
-
     /**
      * Handles the modify remove operation on the subschemaSubentry for schema entities.

      * 



Mime
View raw message