directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r371746 - /directory/trunks/common/ldap/src/main/java/org/apache/ldap/common/codec/search/SubstringFilter.java
Date Tue, 24 Jan 2006 00:45:00 GMT
Author: elecharny
Date: Mon Jan 23 16:44:57 2006
New Revision: 371746

URL: http://svn.apache.org/viewcvs?rev=371746&view=rev
Log:
Changed the constant names to reflect the changes done in
the enum structure

Modified:
    directory/trunks/common/ldap/src/main/java/org/apache/ldap/common/codec/search/SubstringFilter.java

Modified: directory/trunks/common/ldap/src/main/java/org/apache/ldap/common/codec/search/SubstringFilter.java
URL: http://svn.apache.org/viewcvs/directory/trunks/common/ldap/src/main/java/org/apache/ldap/common/codec/search/SubstringFilter.java?rev=371746&r1=371745&r2=371746&view=diff
==============================================================================
--- directory/trunks/common/ldap/src/main/java/org/apache/ldap/common/codec/search/SubstringFilter.java
(original)
+++ directory/trunks/common/ldap/src/main/java/org/apache/ldap/common/codec/search/SubstringFilter.java
Mon Jan 23 16:44:57 2006
@@ -272,7 +272,7 @@
             // The initial substring
             if ( initialSubstrings != null )
             {
-                buffer.put( (byte)LdapConstants.SEARCH_SUBSTRINGS_INITIAL_TAG );
+                buffer.put( (byte)LdapConstants.SUBSTRINGS_FILTER_INITIAL_TAG );
                 buffer.put( Length.getBytes( initialSubstrings.getNbBytes() ) );
                 buffer.put( initialSubstrings.getBytes() );
             }
@@ -285,7 +285,7 @@
                 while ( anyIterator.hasNext() )
                 {
                     LdapString any = (LdapString)anyIterator.next();
-                    buffer.put( (byte)LdapConstants.SEARCH_SUBSTRINGS_ANY_TAG );
+                    buffer.put( (byte)LdapConstants.SUBSTRINGS_FILTER_ANY_TAG );
                     buffer.put( Length.getBytes( any.getNbBytes() ) );
                     buffer.put( any.getBytes() );
                 }
@@ -294,7 +294,7 @@
             // The final substring
             if ( finalSubstrings != null )
             {
-                buffer.put( (byte) LdapConstants.SEARCH_SUBSTRINGS_FINAL_TAG );
+                buffer.put( (byte) LdapConstants.SUBSTRINGS_FILTER_FINAL_TAG );
                 buffer.put( Length.getBytes( finalSubstrings.getNbBytes() ) );
                 buffer.put( finalSubstrings.getBytes() );
             }



Mime
View raw message