directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r179454 - /directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/codec/grammars/CompareResponseGrammar.java
Date Wed, 01 Jun 2005 23:12:34 GMT
Author: elecharny
Date: Wed Jun  1 16:12:33 2005
New Revision: 179454

URL: http://svn.apache.org/viewcvs?rev=179454&view=rev
Log:
Fixed some states, using COMPARE_RESPONSE_XXX instead of ADD_RESPONSE_XXX.

Modified:
    directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/codec/grammars/CompareResponseGrammar.java

Modified: directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/codec/grammars/CompareResponseGrammar.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/codec/grammars/CompareResponseGrammar.java?rev=179454&r1=179453&r2=179454&view=diff
==============================================================================
--- directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/codec/grammars/CompareResponseGrammar.java
(original)
+++ directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/codec/grammars/CompareResponseGrammar.java
Wed Jun  1 16:12:33 2005
@@ -74,7 +74,7 @@
         // We have to allocate a CompareResponsePOJO
         // LdapMessage ::= ... CompareResponse ...
         // CompareResponse ::= [APPLICATION 15] LDAPResult (Length)
-        super.transitions[LdapStatesEnum.ADD_RESPONSE_LENGTH][0x6F] = new GrammarTransition(
+        super.transitions[LdapStatesEnum.COMPARE_RESPONSE_LENGTH][0x6F] = new GrammarTransition(
                 LdapStatesEnum.COMPARE_RESPONSE_LENGTH, LdapStatesEnum.COMPARE_RESPONSE_VALUE,
                 new GrammarAction( "Init CompareResponse" )
                 {
@@ -108,7 +108,7 @@
         // CompareResponse ::= [APPLICATION 15] LDAPResult (Value)
         // The next Tag will be the LDAPResult Tag (0x0A).
         // We will switch the grammar then.
-        super.transitions[LdapStatesEnum.ADD_RESPONSE_VALUE][0x6F] = new GrammarTransition(
+        super.transitions[LdapStatesEnum.COMPARE_RESPONSE_VALUE][0x6F] = new GrammarTransition(
                 LdapStatesEnum.COMPARE_RESPONSE_VALUE, LdapStatesEnum.COMPARE_RESPONSE_LDAP_RESULT,
null );
 
         // LdapMessage ::= ... CompareResponse ...



Mime
View raw message