directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r356993 - /directory/shared/ldap/trunk/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/encoder/search/SearchRequestEncoder.java
Date Thu, 15 Dec 2005 09:26:57 GMT
Author: elecharny
Date: Thu Dec 15 01:26:51 2005
New Revision: 356993

URL: http://svn.apache.org/viewcvs?rev=356993&view=rev
Log:
Fixed DIRLDAP-80, a bug found by Van-Nhu : missing a break in a switch

Modified:
    directory/shared/ldap/trunk/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/encoder/search/SearchRequestEncoder.java

Modified: directory/shared/ldap/trunk/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/encoder/search/SearchRequestEncoder.java
URL: http://svn.apache.org/viewcvs/directory/shared/ldap/trunk/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/encoder/search/SearchRequestEncoder.java?rev=356993&r1=356992&r2=356993&view=diff
==============================================================================
--- directory/shared/ldap/trunk/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/encoder/search/SearchRequestEncoder.java
(original)
+++ directory/shared/ldap/trunk/apache-provider/src/main/java/org/apache/ldap/common/berlib/asn1/encoder/search/SearchRequestEncoder.java
Thu Dec 15 01:26:51 2005
@@ -323,27 +323,35 @@
                     encode( parent, LdapTag.CONTEXT_SPECIFIC_TAG_3,
                             ( SimpleNode ) node );
                     break;
+                    
                 case( LeafNode.SUBSTRING ):
                     encode( parent, ( SubstringNode ) node );
                     break;
+                    
                 case( LeafNode.GREATEREQ ):
                     encode( parent, LdapTag.CONTEXT_SPECIFIC_TAG_5,
                             ( SimpleNode ) node );
                     break;
+                    
                 case( LeafNode.LESSEQ ):
                     encode( parent, LdapTag.CONTEXT_SPECIFIC_TAG_6,
                             ( SimpleNode ) node );
                     break;
+                    
                 case( LeafNode.PRESENCE ):
                     PresenceNode presence = ( PresenceNode ) node;
                     encode( parent, LdapTag.CONTEXT_SPECIFIC_TAG_7, presence );
+                    break;
+                    
                 case( LeafNode.APPROXIMATE ):
                     encode( parent, LdapTag.CONTEXT_SPECIFIC_TAG_8,
                             ( SimpleNode ) node );
                     break;
+                    
                 case( LeafNode.EXTENSIBLE ):
                     encode( parent, ( ExtensibleNode ) node );
                     break;
+                    
                 default:
                     throw new IllegalArgumentException(
                             "Unrecognized assertion type value: "



Mime
View raw message