directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pamarce...@apache.org
Subject svn commit: r1027198 - /directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/search/controls/pagedSearch/PagedResultsControlStatesEnum.java
Date Mon, 25 Oct 2010 17:12:51 GMT
Author: pamarcelot
Date: Mon Oct 25 17:12:51 2010
New Revision: 1027198

URL: http://svn.apache.org/viewvc?rev=1027198&view=rev
Log:
Fixed the IDs of the states which were no longer in sync.
This caused in the LDAP Client API used in Studio which failed to decode the value of the
cookie (only when log was in DEBUG mode).

Modified:
    directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/search/controls/pagedSearch/PagedResultsControlStatesEnum.java

Modified: directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/search/controls/pagedSearch/PagedResultsControlStatesEnum.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/search/controls/pagedSearch/PagedResultsControlStatesEnum.java?rev=1027198&r1=1027197&r2=1027198&view=diff
==============================================================================
--- directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/search/controls/pagedSearch/PagedResultsControlStatesEnum.java
(original)
+++ directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/search/controls/pagedSearch/PagedResultsControlStatesEnum.java
Mon Oct 25 17:12:51 2010
@@ -47,13 +47,13 @@ public final class PagedResultsControlSt
     public static final int PAGED_SEARCH_SEQUENCE_STATE = 1;
 
     /** Size Value */
-    public static final int SIZE_STATE = 3;
+    public static final int SIZE_STATE = 2;
     
     /** Cookie Value */
-    public static final int COOKIE_STATE = 5;
+    public static final int COOKIE_STATE = 3;
 
     /** terminal state */
-    public static final int LAST_PAGED_SEARCH_STATE = 8;
+    public static final int LAST_PAGED_SEARCH_STATE = 4;
 
     // =========================================================================
     // States debug strings



Mime
View raw message