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/12/15 18:01:12 UTC
svn commit: r1214862 -
/directory/apacheds/trunk/core-api/src/main/java/org/apache/directory/server/core/api/interceptor/context/AbstractOperationContext.java
Author: elecharny
Date: Thu Dec 15 17:01:11 2011
New Revision: 1214862
URL: http://svn.apache.org/viewvc?rev=1214862&view=rev
Log:
o Removed the next and previous fields
Modified:
directory/apacheds/trunk/core-api/src/main/java/org/apache/directory/server/core/api/interceptor/context/AbstractOperationContext.java
Modified: directory/apacheds/trunk/core-api/src/main/java/org/apache/directory/server/core/api/interceptor/context/AbstractOperationContext.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/core-api/src/main/java/org/apache/directory/server/core/api/interceptor/context/AbstractOperationContext.java?rev=1214862&r1=1214861&r2=1214862&view=diff
==============================================================================
--- directory/apacheds/trunk/core-api/src/main/java/org/apache/directory/server/core/api/interceptor/context/AbstractOperationContext.java (original)
+++ directory/apacheds/trunk/core-api/src/main/java/org/apache/directory/server/core/api/interceptor/context/AbstractOperationContext.java Thu Dec 15 17:01:11 2011
@@ -27,7 +27,6 @@ import java.util.Map;
import org.apache.directory.server.core.api.CoreSession;
import org.apache.directory.server.core.api.LdapPrincipal;
-import org.apache.directory.server.i18n.I18n;
import org.apache.directory.shared.ldap.model.entry.Entry;
import org.apache.directory.shared.ldap.model.exception.LdapException;
import org.apache.directory.shared.ldap.model.message.Control;
@@ -73,10 +72,6 @@ public abstract class AbstractOperationC
/** The core session */
protected CoreSession session;
- protected OperationContext next;
-
- protected OperationContext previous;
-
/** A flag used to tell if we should consider referrals as standard entries */
protected boolean throwReferral;
@@ -342,7 +337,6 @@ public abstract class AbstractOperationC
private void setup( AbstractOperationContext opContext )
{
- next = opContext;
opContext.setAuthorizedPrincipal( authorizedPrincipal );
}
@@ -363,11 +357,6 @@ public abstract class AbstractOperationC
*/
public Entry lookup( LookupOperationContext lookupContext ) throws LdapException
{
- if ( lookupContext != next )
- {
- throw new IllegalStateException( I18n.err( I18n.ERR_319 ) );
- }
-
return session.getDirectoryService().getOperationManager().lookup( lookupContext );
}