directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r328738 - /directory/shared/ldap/branches/shared-ldap-utf8/common/src/java/org/apache/ldap/common/filter/ExtensibleNode.java
Date Wed, 26 Oct 2005 21:17:47 GMT
Author: elecharny
Date: Wed Oct 26 14:17:34 2005
New Revision: 328738

URL: http://svn.apache.org/viewcvs?rev=328738&view=rev
Log:
Added a new constructor which accepts a String value. It will call internally the constructor
which accept a byte[]

Modified:
    directory/shared/ldap/branches/shared-ldap-utf8/common/src/java/org/apache/ldap/common/filter/ExtensibleNode.java

Modified: directory/shared/ldap/branches/shared-ldap-utf8/common/src/java/org/apache/ldap/common/filter/ExtensibleNode.java
URL: http://svn.apache.org/viewcvs/directory/shared/ldap/branches/shared-ldap-utf8/common/src/java/org/apache/ldap/common/filter/ExtensibleNode.java?rev=328738&r1=328737&r2=328738&view=diff
==============================================================================
--- directory/shared/ldap/branches/shared-ldap-utf8/common/src/java/org/apache/ldap/common/filter/ExtensibleNode.java
(original)
+++ directory/shared/ldap/branches/shared-ldap-utf8/common/src/java/org/apache/ldap/common/filter/ExtensibleNode.java
Wed Oct 26 14:17:34 2005
@@ -54,6 +54,20 @@
      * @param matchingRuleId the OID of the matching rule
      * @param dnAttributes the dn attributes
      */
+    public ExtensibleNode( String attribute, String value,
+        String matchingRuleId, boolean dnAttributes )
+    {
+        this( attribute, StringUtils.getBytesUtf8( value ), matchingRuleId, dnAttributes
);
+    }
+    
+    /**
+     * Creates a new ExtensibleNode object.
+     *
+     * @param attribute the attribute used for the extensible assertion
+     * @param value the value to match for
+     * @param matchingRuleId the OID of the matching rule
+     * @param dnAttributes the dn attributes
+     */
     public ExtensibleNode( String attribute, byte[] value,
         String matchingRuleId, boolean dnAttributes )
     {



Mime
View raw message