From 813c78e0dd2862ff7eb2c80963d80ab81e1c1bf9 Mon Sep 17 00:00:00 2001
From: Matthew Swift <matthew.swift@forgerock.com>
Date: Thu, 19 Dec 2013 14:51:01 +0000
Subject: [PATCH] Minor refactoring: remove Validator class and use forgerock-util Reject instead.

---
 opendj-sdk/opendj-admin/src/main/java/org/opends/server/admin/condition/IsPresentCondition.java |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/opendj-sdk/opendj-admin/src/main/java/org/opends/server/admin/condition/IsPresentCondition.java b/opendj-sdk/opendj-admin/src/main/java/org/opends/server/admin/condition/IsPresentCondition.java
index db48a92..dfec5f8 100644
--- a/opendj-sdk/opendj-admin/src/main/java/org/opends/server/admin/condition/IsPresentCondition.java
+++ b/opendj-sdk/opendj-admin/src/main/java/org/opends/server/admin/condition/IsPresentCondition.java
@@ -35,7 +35,7 @@
 import org.opends.server.admin.server.ServerManagedObject;
 import org.opends.server.config.ConfigException;
 
-import com.forgerock.opendj.util.Validator;
+import org.forgerock.util.Reject;
 
 /**
  * A condition which evaluates to <code>true</code> if and only if a particular
@@ -56,7 +56,7 @@
      *            The property name.
      */
     public IsPresentCondition(String propertyName) {
-        Validator.ensureNotNull(propertyName);
+        Reject.ifNull(propertyName);
         this.propertyName = propertyName;
     }
 

--
Gitblit v1.10.0