directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r329607 - /directory/apacheds/branches/apacheds-utf8/core/src/main/java/org/apache/ldap/server/subtree/RefinementLeafEvaluator.java
Date Sun, 30 Oct 2005 19:50:30 GMT
Author: elecharny
Date: Sun Oct 30 11:50:26 2005
New Revision: 329607

URL: http://svn.apache.org/viewcvs?rev=329607&view=rev
Log:
Rollback : we are not using byte[] values anymore.

Modified:
    directory/apacheds/branches/apacheds-utf8/core/src/main/java/org/apache/ldap/server/subtree/RefinementLeafEvaluator.java

Modified: directory/apacheds/branches/apacheds-utf8/core/src/main/java/org/apache/ldap/server/subtree/RefinementLeafEvaluator.java
URL: http://svn.apache.org/viewcvs/directory/apacheds/branches/apacheds-utf8/core/src/main/java/org/apache/ldap/server/subtree/RefinementLeafEvaluator.java?rev=329607&r1=329606&r2=329607&view=diff
==============================================================================
--- directory/apacheds/branches/apacheds-utf8/core/src/main/java/org/apache/ldap/server/subtree/RefinementLeafEvaluator.java
(original)
+++ directory/apacheds/branches/apacheds-utf8/core/src/main/java/org/apache/ldap/server/subtree/RefinementLeafEvaluator.java
Sun Oct 30 11:50:26 2005
@@ -17,7 +17,6 @@
 package org.apache.ldap.server.subtree;
 
 
-import org.apache.asn1new.util.StringUtils;
 import org.apache.ldap.common.filter.*;
 import org.apache.ldap.server.schema.OidRegistry;
 
@@ -87,13 +86,13 @@
         }
 
         // check if AVA value exists in attribute
-        if ( objectClasses.contains( node.getValue() )  || objectClasses.contains( StringUtils.toUtf8(
node.getValue() ) ) )
+        if ( objectClasses.contains( node.getValue() ) )
         {
             return true;
         }
 
         // If the filter value for the objectClass is an OID we need to resolve a name
-        String value = StringUtils.toUtf8( node.getValue() );
+        String value = node.getValue();
         
         if ( Character.isDigit( value.charAt( 0 ) ) )
         {



Mime
View raw message