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 2005/06/11 01:54:23 UTC
svn commit: r190040 -
/directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/SearchRequest.java
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;
}
}