directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: r669056 - /directory/apacheds/branches/bigbang/core/src/main/java/org/apache/directory/server/core/interceptor/context/DeleteOperationContext.java
Date Wed, 18 Jun 2008 02:38:30 GMT
Author: akarasulu
Date: Tue Jun 17 19:38:30 2008
New Revision: 669056

URL: http://svn.apache.org/viewvc?rev=669056&view=rev
Log:
forget about loading entry in this simple bean

Modified:
    directory/apacheds/branches/bigbang/core/src/main/java/org/apache/directory/server/core/interceptor/context/DeleteOperationContext.java

Modified: directory/apacheds/branches/bigbang/core/src/main/java/org/apache/directory/server/core/interceptor/context/DeleteOperationContext.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/bigbang/core/src/main/java/org/apache/directory/server/core/interceptor/context/DeleteOperationContext.java?rev=669056&r1=669055&r2=669056&view=diff
==============================================================================
--- directory/apacheds/branches/bigbang/core/src/main/java/org/apache/directory/server/core/interceptor/context/DeleteOperationContext.java
(original)
+++ directory/apacheds/branches/bigbang/core/src/main/java/org/apache/directory/server/core/interceptor/context/DeleteOperationContext.java
Tue Jun 17 19:38:30 2008
@@ -22,7 +22,6 @@
 
 import org.apache.directory.server.core.CoreSession;
 import org.apache.directory.server.core.entry.ClonedServerEntry;
-import org.apache.directory.server.core.partition.ByPassConstants;
 import org.apache.directory.shared.ldap.message.DeleteRequest;
 import org.apache.directory.shared.ldap.message.MessageTypeEnum;
 import org.apache.directory.shared.ldap.name.LdapDN;
@@ -105,13 +104,8 @@
      * 
      * @return the entry
      */
-    public ClonedServerEntry getEntry() throws Exception
+    public ClonedServerEntry getEntry()
     {
-        if ( entry == null )
-        {
-            entry = lookup( getDn(), ByPassConstants.LOOKUP_BYPASS );
-        }
-        
         return entry;
     }
 }



Mime
View raw message