From cc9db00b66ccb71927ca7ef74f1b91f8b333bb85 Mon Sep 17 00:00:00 2001
From: neil_a_wilson <neil_a_wilson@localhost>
Date: Mon, 06 Nov 2006 20:08:49 +0000
Subject: [PATCH] Update the AttributeValue constructors to ensure that they do not accept any null arguments.  This also requires making changes to other areas of the server code to eliminate cases in which it was possible that at least one of the arguments was null.

---
 opends/src/server/org/opends/server/controls/LDAPAssertionRequestControl.java |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/opends/src/server/org/opends/server/controls/LDAPAssertionRequestControl.java b/opends/src/server/org/opends/server/controls/LDAPAssertionRequestControl.java
index b2f20bc..445176b 100644
--- a/opends/src/server/org/opends/server/controls/LDAPAssertionRequestControl.java
+++ b/opends/src/server/org/opends/server/controls/LDAPAssertionRequestControl.java
@@ -35,6 +35,7 @@
 import org.opends.server.protocols.ldap.LDAPFilter;
 import org.opends.server.protocols.ldap.LDAPResultCode;
 import org.opends.server.types.Control;
+import org.opends.server.types.DirectoryException;
 import org.opends.server.types.SearchFilter;
 
 import static org.opends.server.loggers.Debug.*;
@@ -234,8 +235,12 @@
    * Retrieves the processed search filter for this control.
    *
    * @return  The processed search filter for this control.
+   *
+   * @throws  DirectoryException  If a problem occurs while attempting to
+   *                              process the search filter.
    */
   public SearchFilter getSearchFilter()
+         throws DirectoryException
   {
     assert debugEnter(CLASS_NAME, "getSearchFilter");
 

--
Gitblit v1.10.0