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

Jean-Noel Rouvignac
24.41.2015 e7cac727a9231ff3602e61a4ea678e0463eb0e39
opendj-server-legacy/src/main/java/org/opends/server/admin/condition/Conditions.java
@@ -22,7 +22,7 @@
 *
 *
 *      Copyright 2008 Sun Microsystems, Inc.
 *      Portions Copyright 2014 ForgeRock AS
 *      Portions Copyright 2014-2015 ForgeRock AS
 */
package org.opends.server.admin.condition;
@@ -49,9 +49,7 @@
   */
  public static final Condition FALSE = new Condition() {
    /**
     * {@inheritDoc}
     */
    /** {@inheritDoc} */
    public boolean evaluate(ManagementContext context,
        ManagedObject<?> managedObject) throws AuthorizationException,
        CommunicationException {
@@ -60,9 +58,7 @@
    /**
     * {@inheritDoc}
     */
    /** {@inheritDoc} */
    public boolean evaluate(ServerManagedObject<?> managedObject)
        throws ConfigException {
      return false;
@@ -70,9 +66,7 @@
    /**
     * {@inheritDoc}
     */
    /** {@inheritDoc} */
    public void initialize(AbstractManagedObjectDefinition<?, ?> d)
        throws Exception {
      // No implementation required.
@@ -85,9 +79,7 @@
   */
  public static final Condition TRUE = new Condition() {
    /**
     * {@inheritDoc}
     */
    /** {@inheritDoc} */
    public boolean evaluate(ManagementContext context,
        ManagedObject<?> managedObject) throws AuthorizationException,
        CommunicationException {
@@ -96,9 +88,7 @@
    /**
     * {@inheritDoc}
     */
    /** {@inheritDoc} */
    public boolean evaluate(ServerManagedObject<?> managedObject)
        throws ConfigException {
      return true;
@@ -106,9 +96,7 @@
    /**
     * {@inheritDoc}
     */
    /** {@inheritDoc} */
    public void initialize(AbstractManagedObjectDefinition<?, ?> d)
        throws Exception {
      // No implementation required.
@@ -229,7 +217,7 @@
  // Prevent instantiation.
  /** Prevent instantiation. */
  private Conditions() {
    // No implementation required.
  }