directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r579324 - /directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/filter/SubstringNode.java
Date Tue, 25 Sep 2007 17:19:15 GMT
Author: elecharny
Date: Tue Sep 25 10:19:13 2007
New Revision: 579324

URL: http://svn.apache.org/viewvc?rev=579324&view=rev
Log:
Added a constructor with no arguments

Modified:
    directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/filter/SubstringNode.java

Modified: directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/filter/SubstringNode.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/filter/SubstringNode.java?rev=579324&r1=579323&r2=579324&view=diff
==============================================================================
--- directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/filter/SubstringNode.java
(original)
+++ directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/filter/SubstringNode.java
Tue Sep 25 10:19:13 2007
@@ -67,6 +67,23 @@
 
 
     /**
+     * Creates a new SubstringNode object without any value
+     * 
+     * @param attribute the name of the attribute to substring assert
+     * @param initialPattern the initial fragment
+     * @param finalPattern the final fragment
+     */
+    public SubstringNode( String attribute )
+    {
+        super( attribute );
+
+        anyPattern = new ArrayList<String>( 2 );
+        this.finalPattern = null;
+        this.initialPattern = null;
+    }
+
+
+    /**
      * Creates a new SubstringNode object more than one wildcard and an any
      * list.
      * 



Mime
View raw message