mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Matthew Swift
19.51.2013 813c78e0dd2862ff7eb2c80963d80ab81e1c1bf9
opendj-sdk/opendj-admin/src/main/java/org/opends/server/admin/condition/ContainsCondition.java
@@ -28,6 +28,7 @@
import java.util.SortedSet;
import org.forgerock.opendj.ldap.ErrorResultException;
import org.forgerock.util.Reject;
import org.opends.server.admin.AbstractManagedObjectDefinition;
import org.opends.server.admin.IllegalPropertyValueStringException;
import org.opends.server.admin.PropertyDefinition;
@@ -36,8 +37,6 @@
import org.opends.server.admin.server.ServerManagedObject;
import org.opends.server.config.ConfigException;
import com.forgerock.opendj.util.Validator;
/**
 * A condition which evaluates to <code>true</code> if and only if a property
 * contains a particular value.
@@ -112,7 +111,8 @@
     *            The string representation of the required property value.
     */
    public ContainsCondition(String propertyName, String stringValue) {
        Validator.ensureNotNull(propertyName, stringValue);
        Reject.ifNull(propertyName);
        Reject.ifNull(stringValue);
        this.propertyName = propertyName;
        this.propertyStringValue = stringValue;
    }