directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r190040 - /directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/SearchRequest.java
Date Fri, 10 Jun 2005 23:54:23 GMT
Author: elecharny
Date: Fri Jun 10 16:54:23 2005
New Revision: 190040

URL: http://svn.apache.org/viewcvs?rev=190040&view=rev
Log:
Added a member to check the length of the attributes list

Modified:
    directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/SearchRequest.java

Modified: directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/SearchRequest.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/SearchRequest.java?rev=190040&r1=190039&r2=190040&view=diff
==============================================================================
--- directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/SearchRequest.java
(original)
+++ directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/SearchRequest.java
Fri Jun 10 16:54:23 2005
@@ -56,6 +56,9 @@
     /** The filter tree */
     private Filter filter;
 
+    /** The length of the attributes */
+    private transient int attributesExpectedLength;
+    
     /** The list of attributes to get */
     private ArrayList  attributes;
     
@@ -259,5 +262,19 @@
     public void setCurrentFilter(Filter currentFilter) 
     {
         this.currentFilter = currentFilter;
+    }
+    
+    /**
+     * @return Returns the attributesExpectedLength.
+     */
+    public int getAttributesExpectedLength() {
+        return attributesExpectedLength;
+    }
+    
+    /**
+     * @param attributesExpectedLength The attributesExpectedLength to set.
+     */
+    public void setAttributesExpectedLength(int attributesExpectedLength) {
+        this.attributesExpectedLength = attributesExpectedLength;
     }
 }



Mime
View raw message