directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r329146 - /directory/apacheds/branches/apacheds-utf8/core/src/main/java/org/apache/ldap/server/subtree/RefinementLeafEvaluator.java
Date Fri, 28 Oct 2005 07:29:21 GMT
Author: elecharny
Date: Fri Oct 28 00:29:15 2005
New Revision: 329146

URL: http://svn.apache.org/viewcvs?rev=329146&view=rev
Log:
Fixed : the byte[] is transformed to a String to allow a comparizon

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=329146&r1=329145&r2=329146&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
Fri Oct 28 00:29:15 2005
@@ -87,7 +87,7 @@
         }
 
         // check if AVA value exists in attribute
-        if ( objectClasses.contains( node.getValue() ) )
+        if ( objectClasses.contains( node.getValue() )  || objectClasses.contains( StringUtils.toUtf8(
node.getValue() ) ) )
         {
             return true;
         }



Mime
View raw message