directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1664729 - in /directory/shared/trunk/ldap/extras/codec/src/main/java/org/apache/directory/api/ldap/extras/controls/vlv_impl: VirtualListViewRequestDecorator.java VirtualListViewRequestGrammar.java
Date Fri, 06 Mar 2015 22:01:55 GMT
Author: elecharny
Date: Fri Mar  6 22:01:55 2015
New Revision: 1664729

URL: http://svn.apache.org/r1664729
Log:
Fixed the VLV grammar

Modified:
    directory/shared/trunk/ldap/extras/codec/src/main/java/org/apache/directory/api/ldap/extras/controls/vlv_impl/VirtualListViewRequestDecorator.java
    directory/shared/trunk/ldap/extras/codec/src/main/java/org/apache/directory/api/ldap/extras/controls/vlv_impl/VirtualListViewRequestGrammar.java

Modified: directory/shared/trunk/ldap/extras/codec/src/main/java/org/apache/directory/api/ldap/extras/controls/vlv_impl/VirtualListViewRequestDecorator.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/extras/codec/src/main/java/org/apache/directory/api/ldap/extras/controls/vlv_impl/VirtualListViewRequestDecorator.java?rev=1664729&r1=1664728&r2=1664729&view=diff
==============================================================================
--- directory/shared/trunk/ldap/extras/codec/src/main/java/org/apache/directory/api/ldap/extras/controls/vlv_impl/VirtualListViewRequestDecorator.java
(original)
+++ directory/shared/trunk/ldap/extras/codec/src/main/java/org/apache/directory/api/ldap/extras/controls/vlv_impl/VirtualListViewRequestDecorator.java
Fri Mar  6 22:01:55 2015
@@ -309,7 +309,7 @@ public class VirtualListViewRequestDecor
     @Override
     public boolean hasOffset()
     {
-        return false;
+        return getDecorated().hasOffset();
     }
 
 
@@ -319,7 +319,7 @@ public class VirtualListViewRequestDecor
     @Override
     public boolean hasAssertionValue()
     {
-        return false;
+        return getDecorated().hasAssertionValue();
     }
 
 }

Modified: directory/shared/trunk/ldap/extras/codec/src/main/java/org/apache/directory/api/ldap/extras/controls/vlv_impl/VirtualListViewRequestGrammar.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/extras/codec/src/main/java/org/apache/directory/api/ldap/extras/controls/vlv_impl/VirtualListViewRequestGrammar.java?rev=1664729&r1=1664728&r2=1664729&view=diff
==============================================================================
--- directory/shared/trunk/ldap/extras/codec/src/main/java/org/apache/directory/api/ldap/extras/controls/vlv_impl/VirtualListViewRequestGrammar.java
(original)
+++ directory/shared/trunk/ldap/extras/codec/src/main/java/org/apache/directory/api/ldap/extras/controls/vlv_impl/VirtualListViewRequestGrammar.java
Fri Mar  6 22:01:55 2015
@@ -72,7 +72,7 @@ public class VirtualListViewRequestGramm
                 UniversalTag.INTEGER.getValue(),
                 new StoreAfterCount() );
 
-        super.transitions[VirtualListViewRequestStates.VLV_AFTER_COUNT_STATE.ordinal()][(
byte ) VirtualListViewerTags.BY_OFFSET_TAG
+        super.transitions[VirtualListViewRequestStates.VLV_AFTER_COUNT_STATE.ordinal()][VirtualListViewerTags.BY_OFFSET_TAG
             .getValue()] =
             new GrammarTransition<VirtualListViewRequestContainer>(
                 VirtualListViewRequestStates.VLV_AFTER_COUNT_STATE,
@@ -80,7 +80,7 @@ public class VirtualListViewRequestGramm
                 ( byte ) VirtualListViewerTags.BY_OFFSET_TAG.getValue(),
                 null );
 
-        super.transitions[VirtualListViewRequestStates.VLV_AFTER_COUNT_STATE.ordinal()][(
byte ) VirtualListViewerTags.ASSERTION_VALUE_TAG
+        super.transitions[VirtualListViewRequestStates.VLV_AFTER_COUNT_STATE.ordinal()][VirtualListViewerTags.ASSERTION_VALUE_TAG
             .getValue()] =
             new GrammarTransition<VirtualListViewRequestContainer>(
                 VirtualListViewRequestStates.VLV_AFTER_COUNT_STATE,



Mime
View raw message