You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by el...@apache.org on 2011/06/19 12:41:43 UTC
svn commit: r1137333 -
/directory/apacheds/trunk/core-api/src/main/java/org/apache/directory/server/core/interceptor/context/DeleteOperationContext.java
Author: elecharny
Date: Sun Jun 19 10:41:43 2011
New Revision: 1137333
URL: http://svn.apache.org/viewvc?rev=1137333&view=rev
Log:
Removed the entry field from the context : it's already present in the abtsrcat class
Modified:
directory/apacheds/trunk/core-api/src/main/java/org/apache/directory/server/core/interceptor/context/DeleteOperationContext.java
Modified: directory/apacheds/trunk/core-api/src/main/java/org/apache/directory/server/core/interceptor/context/DeleteOperationContext.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/core-api/src/main/java/org/apache/directory/server/core/interceptor/context/DeleteOperationContext.java?rev=1137333&r1=1137332&r2=1137333&view=diff
==============================================================================
--- directory/apacheds/trunk/core-api/src/main/java/org/apache/directory/server/core/interceptor/context/DeleteOperationContext.java (original)
+++ directory/apacheds/trunk/core-api/src/main/java/org/apache/directory/server/core/interceptor/context/DeleteOperationContext.java Sun Jun 19 10:41:43 2011
@@ -22,9 +22,9 @@ package org.apache.directory.server.core
import org.apache.directory.server.core.CoreSession;
import org.apache.directory.server.core.entry.ClonedServerEntry;
-import org.apache.directory.shared.ldap.model.message.controls.ManageDsaIT;
import org.apache.directory.shared.ldap.model.message.DeleteRequest;
import org.apache.directory.shared.ldap.model.message.MessageTypeEnum;
+import org.apache.directory.shared.ldap.model.message.controls.ManageDsaIT;
import org.apache.directory.shared.ldap.model.name.Dn;
@@ -37,13 +37,6 @@ import org.apache.directory.shared.ldap.
public class DeleteOperationContext extends AbstractChangeOperationContext
{
/**
- * An optimization added to prevent redundant lookups of the deleted
- * entry.
- */
- private ClonedServerEntry entry;
-
-
- /**
* Creates a new instance of DeleteOperationContext.
*/
public DeleteOperationContext( CoreSession session )
@@ -104,16 +97,4 @@ public class DeleteOperationContext exte
{
this.entry = entry;
}
-
-
- /**
- * Gets the deleted entry if cached. Must be called before deleting the
- * entry when the entry member is null or this call will fail.
- *
- * @return the entry
- */
- public ClonedServerEntry getEntry()
- {
- return entry;
- }
}