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/IsPresentCondition.java | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/opendj3-server-dev/src/server/org/opends/server/admin/condition/IsPresentCondition.java b/opendj3-server-dev/src/server/org/opends/server/admin/condition/IsPresentCondition.java
index d1ff219..2fb295c 100644
--- a/opendj3-server-dev/src/server/org/opends/server/admin/condition/IsPresentCondition.java
+++ b/opendj3-server-dev/src/server/org/opends/server/admin/condition/IsPresentCondition.java
@@ -22,6 +22,7 @@
*
*
* Copyright 2008 Sun Microsystems, Inc.
+ * Portions Copyright 2014 ForgeRock AS
*/
package org.opends.server.admin.condition;
@@ -37,7 +38,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;
@@ -62,7 +63,7 @@
* The property name.
*/
public IsPresentCondition(String propertyName) {
- Validator.ensureNotNull(propertyName);
+ Reject.ifNull(propertyName);
this.propertyName = propertyName;
}
--
Gitblit v1.10.0