directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: rev 21102 - incubator/directory/snickers/trunk/ldap-ber-provider/src/java/org/apache/snickers/ldap/search
Date Fri, 11 Jun 2004 15:46:49 GMT
Author: akarasulu
Date: Fri Jun 11 08:46:48 2004
New Revision: 21102

Modified:
   incubator/directory/snickers/trunk/ldap-ber-provider/src/java/org/apache/snickers/ldap/search/SearchRequestProcessing.java
Log:
Commit changes ...

 o added extra state for adding attributes



Modified: incubator/directory/snickers/trunk/ldap-ber-provider/src/java/org/apache/snickers/ldap/search/SearchRequestProcessing.java
==============================================================================
--- incubator/directory/snickers/trunk/ldap-ber-provider/src/java/org/apache/snickers/ldap/search/SearchRequestProcessing.java
(original)
+++ incubator/directory/snickers/trunk/ldap-ber-provider/src/java/org/apache/snickers/ldap/search/SearchRequestProcessing.java
Fri Jun 11 08:46:48 2004
@@ -44,6 +44,8 @@
     public final State TYPES_ONLY_STATE = new TypesOnlyState() ;
     /** state for filling in the filter field */
     public final State FILTER_STATE = new FilterState() ;
+    /** state for filling in the attributes field */
+    public final State ATTRIBUTES_STATE = new AttributesState() ;
     /** state for filling in the controls field */
     public final State CONTROLS_STATE = new ControlsState() ;
 
@@ -158,6 +160,18 @@
      * State class for filling in the filter.
      */
     protected class FilterState extends State
+    {
+        protected void next()
+        {
+            state = ATTRIBUTES_STATE ;
+        }
+    }
+
+
+    /**
+     * State class for filling in the attributes.
+     */
+    protected class AttributesState extends State
     {
         protected void next()
         {

Mime
View raw message