From 8643a9160860e31611f034467f702eb3a712eb34 Mon Sep 17 00:00:00 2001
From: Nicolas Capponi <nicolas.capponi@forgerock.com>
Date: Wed, 08 Jan 2014 14:33:23 +0000
Subject: [PATCH] Replace org.opends.server.util.Validator class by org.forgerock.util.Reject class from forgerock-util module
---
opendj3-server-dev/src/server/org/opends/server/admin/condition/ContainsCondition.java | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/opendj3-server-dev/src/server/org/opends/server/admin/condition/ContainsCondition.java b/opendj3-server-dev/src/server/org/opends/server/admin/condition/ContainsCondition.java
index 81c4ffa..97bab5e 100644
--- a/opendj3-server-dev/src/server/org/opends/server/admin/condition/ContainsCondition.java
+++ b/opendj3-server-dev/src/server/org/opends/server/admin/condition/ContainsCondition.java
@@ -22,6 +22,7 @@
*
*
* Copyright 2008 Sun Microsystems, Inc.
+ * Portions Copyright 2014 ForgeRock AS
*/
package org.opends.server.admin.condition;
@@ -38,7 +39,7 @@
import org.opends.server.admin.client.ManagementContext;
import org.opends.server.admin.server.ServerManagedObject;
import org.opends.server.config.ConfigException;
-import org.opends.server.util.Validator;
+import org.forgerock.util.Reject;
@@ -134,7 +135,7 @@
* value.
*/
public ContainsCondition(String propertyName, String stringValue) {
- Validator.ensureNotNull(propertyName, stringValue);
+ Reject.ifNull(propertyName, stringValue);
this.propertyName = propertyName;
this.propertyStringValue = stringValue;
}
--
Gitblit v1.10.0