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

Jean-Noel Rouvignac
15.17.2014 6870993d12bf8a2b9d5cd103dc5ccabc42f9bf5d
opendj-config/src/main/java/org/forgerock/opendj/config/conditions/NOTCondition.java
@@ -41,7 +41,7 @@
 */
public final class NOTCondition implements Condition {
    // The single sub-condition.
    /** The single sub-condition. */
    private final Condition condition;
    /**
@@ -55,23 +55,17 @@
        this.condition = condition;
    }
    /**
     * {@inheritDoc}
     */
    /** {@inheritDoc} */
    public boolean evaluate(ManagementContext context, ManagedObject<?> managedObject) throws LdapException {
        return !condition.evaluate(context, managedObject);
    }
    /**
     * {@inheritDoc}
     */
    /** {@inheritDoc} */
    public boolean evaluate(ServerManagedObject<?> managedObject) throws ConfigException {
        return !condition.evaluate(managedObject);
    }
    /**
     * {@inheritDoc}
     */
    /** {@inheritDoc} */
    public void initialize(AbstractManagedObjectDefinition<?, ?> d) throws Exception {
        condition.initialize(d);
    }