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/tests/unit-tests-testng/src/server/org/opends/server/synchronization/AttrInfoTest.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/opends/tests/unit-tests-testng/src/server/org/opends/server/synchronization/AttrInfoTest.java b/opends/tests/unit-tests-testng/src/server/org/opends/server/synchronization/AttrInfoTest.java
index 0988362..7022218 100644
--- a/opends/tests/unit-tests-testng/src/server/org/opends/server/synchronization/AttrInfoTest.java
+++ b/opends/tests/unit-tests-testng/src/server/org/opends/server/synchronization/AttrInfoTest.java
@@ -53,7 +53,7 @@
 
     AttributeValue att1 = new AttributeValue(type, "string");
     AttributeValue att2 = new AttributeValue(type, "value");
-    AttributeValue att3 = new AttributeValue(null, "again");
+    AttributeValue att3 = new AttributeValue(type, "again");
 
     ChangeNumber del1 = new ChangeNumber(1, (short) 0, (short) 1);
     ChangeNumber del2 = new ChangeNumber(1, (short) 1, (short) 1);

--
Gitblit v1.10.0