directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pamarce...@apache.org
Subject svn commit: r514771 - /directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/search/
Date Mon, 05 Mar 2007 18:23:43 GMT
Author: pamarcelot
Date: Mon Mar  5 10:23:42 2007
New Revision: 514771

URL: http://svn.apache.org/viewvc?view=rev&rev=514771
Log:
Added empty constructors to all LDAP Search Filters.

Modified:
    directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/search/AndFilter.java
    directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/search/AttributeValueAssertionFilter.java
    directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/search/ConnectorFilter.java
    directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/search/ExtensibleMatchFilter.java
    directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/search/Filter.java
    directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/search/NotFilter.java
    directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/search/OrFilter.java
    directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/search/PresentFilter.java
    directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/search/SubstringFilter.java

Modified: directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/search/AndFilter.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/search/AndFilter.java?view=diff&rev=514771&r1=514770&r2=514771
==============================================================================
--- directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/search/AndFilter.java
(original)
+++ directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/search/AndFilter.java
Mon Mar  5 10:23:42 2007
@@ -50,6 +50,16 @@
 
 
     /**
+     * The constructor. We wont initialize the ArrayList as they may not be
+     * used.
+     */
+    public AndFilter()
+    {
+        super();
+    }
+
+
+    /**
      * Get the AndFilter.
      * 
      * @return Returns the andFilter.

Modified: directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/search/AttributeValueAssertionFilter.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/search/AttributeValueAssertionFilter.java?view=diff&rev=514771&r1=514770&r2=514771
==============================================================================
--- directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/search/AttributeValueAssertionFilter.java
(original)
+++ directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/search/AttributeValueAssertionFilter.java
Mon Mar  5 10:23:42 2007
@@ -66,6 +66,18 @@
     }
 
 
+    /**
+     * The constructor.
+     * 
+     * @param filterType The filter type
+     */
+    public AttributeValueAssertionFilter( int filterType )
+    {
+        super();
+        this.filterType = filterType;
+    }
+
+
     // ~ Methods
     // ------------------------------------------------------------------------------------
 

Modified: directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/search/ConnectorFilter.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/search/ConnectorFilter.java?view=diff&rev=514771&r1=514770&r2=514771
==============================================================================
--- directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/search/ConnectorFilter.java
(original)
+++ directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/search/ConnectorFilter.java
Mon Mar  5 10:23:42 2007
@@ -59,6 +59,15 @@
     }
 
 
+    /**
+     * The constructor. We wont initialize the ArrayList as it may not be used.
+     */
+    public ConnectorFilter()
+    {
+        super();
+    }
+
+
     // ~ Methods
     // ------------------------------------------------------------------------------------
 
@@ -67,7 +76,7 @@
      * 
      * @param filter The filter to add
      */
-    public void addFilter( Filter filter )  throws DecoderException
+    public void addFilter( Filter filter ) throws DecoderException
     {
 
         if ( filterSet == null )
@@ -159,7 +168,7 @@
 
         if ( ( filterSet != null ) && ( filterSet.size() != 0 ) )
         {
-            for ( Filter filter:filterSet )
+            for ( Filter filter : filterSet )
             {
                 sb.append( '(' ).append( filter ).append( ')' );
             }

Modified: directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/search/ExtensibleMatchFilter.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/search/ExtensibleMatchFilter.java?view=diff&rev=514771&r1=514770&r2=514771
==============================================================================
--- directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/search/ExtensibleMatchFilter.java
(original)
+++ directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/search/ExtensibleMatchFilter.java
Mon Mar  5 10:23:42 2007
@@ -73,6 +73,16 @@
     {
         super( tlvId );
     }
+    
+    
+    /**
+     * Creates a new ExtensibleMatchFilter object. The dnAttributes flag
+     * defaults to false.
+     */
+    public ExtensibleMatchFilter()
+    {
+        super();
+    }
 
 
     // ~ Methods

Modified: directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/search/Filter.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/search/Filter.java?view=diff&rev=514771&r1=514770&r2=514771
==============================================================================
--- directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/search/Filter.java
(original)
+++ directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/search/Filter.java
Mon Mar  5 10:23:42 2007
@@ -39,4 +39,13 @@
     {
         super( tlvId );
     }
+
+
+    /**
+     * The constructor.
+     */
+    public Filter()
+    {
+        super();
+    }
 }

Modified: directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/search/NotFilter.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/search/NotFilter.java?view=diff&rev=514771&r1=514770&r2=514771
==============================================================================
--- directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/search/NotFilter.java
(original)
+++ directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/search/NotFilter.java
Mon Mar  5 10:23:42 2007
@@ -46,6 +46,14 @@
     {
         super( tlvId );
     }
+    
+    /**
+     * The constructor.
+     */
+    public NotFilter()
+    {
+        super();
+    }
 
 
     /**

Modified: directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/search/OrFilter.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/search/OrFilter.java?view=diff&rev=514771&r1=514770&r2=514771
==============================================================================
--- directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/search/OrFilter.java
(original)
+++ directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/search/OrFilter.java
Mon Mar  5 10:23:42 2007
@@ -47,6 +47,16 @@
     {
         super( tlvId );
     }
+    
+    
+    /**
+     * The constructor. We wont initialize the ArrayList as they may not be
+     * used.
+     */
+    public OrFilter()
+    {
+        super();
+    }
 
 
     // ~ Methods

Modified: directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/search/PresentFilter.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/search/PresentFilter.java?view=diff&rev=514771&r1=514770&r2=514771
==============================================================================
--- directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/search/PresentFilter.java
(original)
+++ directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/search/PresentFilter.java
Mon Mar  5 10:23:42 2007
@@ -56,6 +56,15 @@
     {
         super( tlvId );
     }
+    
+    
+    /**
+     * The constructor.
+     */
+    public PresentFilter()
+    {
+        super();
+    }
 
 
     // ~ Methods

Modified: directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/search/SubstringFilter.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/search/SubstringFilter.java?view=diff&rev=514771&r1=514770&r2=514771
==============================================================================
--- directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/search/SubstringFilter.java
(original)
+++ directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/search/SubstringFilter.java
Mon Mar  5 10:23:42 2007
@@ -94,6 +94,16 @@
     {
         super( tlvId );
     }
+    
+    
+    /**
+     * The constructor. We will create the 'any' subsring arraylist with only
+     * one element.
+     */
+    public SubstringFilter()
+    {
+        super();
+    }
 
 
     /**



Mime
View raw message