directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r659367 - /directory/apacheds/branches/bigbang/core/src/main/java/org/apache/directory/server/core/interceptor/context/SearchOperationContext.java
Date Fri, 23 May 2008 02:33:22 GMT
Author: elecharny
Date: Thu May 22 19:33:22 2008
New Revision: 659367

URL: http://svn.apache.org/viewvc?rev=659367&view=rev
Log:
Changed the getName() method to use the MessageTypeEnum constant

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

Modified: directory/apacheds/branches/bigbang/core/src/main/java/org/apache/directory/server/core/interceptor/context/SearchOperationContext.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/bigbang/core/src/main/java/org/apache/directory/server/core/interceptor/context/SearchOperationContext.java?rev=659367&r1=659366&r2=659367&view=diff
==============================================================================
--- directory/apacheds/branches/bigbang/core/src/main/java/org/apache/directory/server/core/interceptor/context/SearchOperationContext.java
(original)
+++ directory/apacheds/branches/bigbang/core/src/main/java/org/apache/directory/server/core/interceptor/context/SearchOperationContext.java
Thu May 22 19:33:22 2008
@@ -23,6 +23,7 @@
 import org.apache.directory.server.schema.registries.Registries;
 import org.apache.directory.shared.ldap.filter.ExprNode;
 import org.apache.directory.shared.ldap.message.AliasDerefMode;
+import org.apache.directory.shared.ldap.message.MessageTypeEnum;
 import org.apache.directory.shared.ldap.name.LdapDN;
 
 import javax.naming.directory.SearchControls;
@@ -95,8 +96,11 @@
     }
 
 
+    /**
+     * @return the operation name
+     */
     public String getName()
     {
-        return "Search";
+        return MessageTypeEnum.SEARCH_REQUEST.name();
     }
 }



Mime
View raw message