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 2007/09/25 19:19:15 UTC
svn commit: r579324 -
/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/filter/SubstringNode.java
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.
*