directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r372478 - /directory/trunks/common/ldap/src/main/java/org/apache/ldap/common/codec/add/AddRequestGrammar.java
Date Thu, 26 Jan 2006 08:19:25 GMT
Author: elecharny
Date: Thu Jan 26 00:19:19 2006
New Revision: 372478

URL: http://svn.apache.org/viewcvs?rev=372478&view=rev
Log:
Fixed a missing popAllowed in this grammar.

Modified:
    directory/trunks/common/ldap/src/main/java/org/apache/ldap/common/codec/add/AddRequestGrammar.java

Modified: directory/trunks/common/ldap/src/main/java/org/apache/ldap/common/codec/add/AddRequestGrammar.java
URL: http://svn.apache.org/viewcvs/directory/trunks/common/ldap/src/main/java/org/apache/ldap/common/codec/add/AddRequestGrammar.java?rev=372478&r1=372477&r2=372478&view=diff
==============================================================================
--- directory/trunks/common/ldap/src/main/java/org/apache/ldap/common/codec/add/AddRequestGrammar.java
(original)
+++ directory/trunks/common/ldap/src/main/java/org/apache/ldap/common/codec/add/AddRequestGrammar.java
Thu Jan 26 00:19:19 2006
@@ -323,7 +323,14 @@
         super.transitions[LdapStatesEnum.ADD_REQUEST_ATTRIBUTES_VAL_OR_ATTRIBUTE_OR_END][UniversalTag.OCTET_STRING_TAG]
=
             new GrammarTransition(
                 LdapStatesEnum.ADD_REQUEST_ATTRIBUTES_VAL_OR_ATTRIBUTE_OR_END,
-                LdapStatesEnum.ADD_REQUEST_ATTRIBUTES_VAL_VALUE, null );
+                LdapStatesEnum.ADD_REQUEST_ATTRIBUTES_VAL_VALUE, 
+                new GrammarAction( "Allow pop" )
+                {
+                    public void action( IAsn1Container container ) throws DecoderException
+                    {
+                        container.grammarPopAllowed( true );
+                    }
+                } );
 
         // AttributeTypeAndValues ::= SEQUENCE {
         //     ...



Mime
View raw message