You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by el...@apache.org on 2006/01/24 01:45:00 UTC
svn commit: r371746 -
/directory/trunks/common/ldap/src/main/java/org/apache/ldap/common/codec/search/SubstringFilter.java
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() );
}