directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r290639 - /directory/shared/ldap/trunk/apache2-provider/src/java/main/org/apache/asn1new/ldap/codec/grammar/LdapControlGrammar.java
Date Wed, 21 Sep 2005 07:16:33 GMT
Author: elecharny
Date: Wed Sep 21 00:16:26 2005
New Revision: 290639

URL: http://svn.apache.org/viewcvs?rev=290639&view=rev
Log:
Deleted two buggy transitions.

Modified:
    directory/shared/ldap/trunk/apache2-provider/src/java/main/org/apache/asn1new/ldap/codec/grammar/LdapControlGrammar.java

Modified: directory/shared/ldap/trunk/apache2-provider/src/java/main/org/apache/asn1new/ldap/codec/grammar/LdapControlGrammar.java
URL: http://svn.apache.org/viewcvs/directory/shared/ldap/trunk/apache2-provider/src/java/main/org/apache/asn1new/ldap/codec/grammar/LdapControlGrammar.java?rev=290639&r1=290638&r2=290639&view=diff
==============================================================================
--- directory/shared/ldap/trunk/apache2-provider/src/java/main/org/apache/asn1new/ldap/codec/grammar/LdapControlGrammar.java
(original)
+++ directory/shared/ldap/trunk/apache2-provider/src/java/main/org/apache/asn1new/ldap/codec/grammar/LdapControlGrammar.java
Wed Sep 21 00:16:26 2005
@@ -89,7 +89,7 @@
         //    controls       [0] Controls OPTIONAL } (Value)
         // Initialize the controls pojo
         super.transitions[LdapStatesEnum.CONTROLS_VALUE][LdapConstants.CONTROLS_TAG] = new
GrammarTransition(
-                LdapStatesEnum.CONTROLS_VALUE, LdapStatesEnum.CONTROLS_SEQUENCE_TAG,
+                LdapStatesEnum.CONTROLS_VALUE, LdapStatesEnum.CONTROL_TAG,
                 new GrammarAction( "Init Controls" )
                 {
                     public void action( IAsn1Container container ) throws DecoderException
@@ -104,22 +104,6 @@
                         ldapMessage.initControl();
                     }
                 } );
-
-        //============================================================================================
-        // Controls sequence
-        //============================================================================================
-        //    ...
-        // Controls ::= SEQUENCE OF Control (Tag)
-        // Nothing to do
-        super.transitions[LdapStatesEnum.CONTROLS_SEQUENCE_TAG][UniversalTag.SEQUENCE_TAG]
= new GrammarTransition(
-                LdapStatesEnum.CONTROLS_SEQUENCE_TAG,
-                LdapStatesEnum.CONTROLS_SEQUENCE_VALUE, null );
-
-        //    ...
-        // Controls ::= SEQUENCE OF Control (Value)
-        // Nothing to do
-        super.transitions[LdapStatesEnum.CONTROLS_SEQUENCE_VALUE][UniversalTag.SEQUENCE_TAG]
= new GrammarTransition(
-                LdapStatesEnum.CONTROLS_SEQUENCE_VALUE, LdapStatesEnum.CONTROL_TAG, null);
 
         //============================================================================================
         // Control 



Mime
View raw message