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

Jean-Noel Rouvignac
24.11.2015 8d21db36015f8560d9cd2bcee9817f2c0a07a386
opendj-server-legacy/src/main/java/org/opends/server/schema/BooleanSyntax.java
@@ -22,7 +22,7 @@
 *
 *
 *      Copyright 2006-2008 Sun Microsystems, Inc.
 *      Portions Copyright 2012-2014 ForgeRock AS
 *      Portions Copyright 2012-2015 ForgeRock AS
 */
package org.opends.server.schema;
@@ -53,11 +53,9 @@
  private static final LocalizedLogger logger = LocalizedLogger.getLoggerForThisClass();
  // The default equality matching rule for this syntax.
  /** The default equality matching rule for this syntax. */
  private MatchingRule defaultEqualityMatchingRule;
  /**
   * Creates a new instance of this syntax.  Note that the only thing that
   * should be done here is to invoke the default constructor for the
@@ -69,11 +67,7 @@
    super();
  }
  /**
   * {@inheritDoc}
   */
  /** {@inheritDoc} */
  @Override
  public void initializeSyntax(AttributeSyntaxCfg configuration)
         throws ConfigException
@@ -86,8 +80,6 @@
    }
  }
  /**
   * Retrieves the common name for this attribute syntax.
   *
@@ -99,8 +91,6 @@
    return SYNTAX_BOOLEAN_NAME;
  }
  /**
   * Retrieves the OID for this attribute syntax.
   *
@@ -112,8 +102,6 @@
    return SYNTAX_BOOLEAN_OID;
  }
  /**
   * Retrieves a description for this attribute syntax.
   *
@@ -125,8 +113,6 @@
    return SYNTAX_BOOLEAN_DESCRIPTION;
  }
  /**
   * Retrieves the default equality matching rule that will be used for
   * attributes with this syntax.
@@ -141,8 +127,6 @@
    return defaultEqualityMatchingRule;
  }
  /**
   * Retrieves the default ordering matching rule that will be used for
   * attributes with this syntax.
@@ -158,8 +142,6 @@
    return null;
  }
  /**
   * Retrieves the default substring matching rule that will be used for
   * attributes with this syntax.
@@ -175,8 +157,6 @@
    return null;
  }
  /**
   * Retrieves the default approximate matching rule that will be used for
   * attributes with this syntax.
@@ -192,8 +172,6 @@
    return null;
  }
  /**
   * Indicates whether the provided value is acceptable for use in an attribute
   * with this syntax.  If it is not, then the reason may be appended to the
@@ -229,8 +207,6 @@
    return returnValue;
  }
  /**
   * Retrieves an attribute value containing a representation of the provided
   * boolean value.
@@ -244,22 +220,14 @@
    return b ? ServerConstants.TRUE_VALUE : ServerConstants.FALSE_VALUE;
  }
  /**
   * {@inheritDoc}
   */
  /** {@inheritDoc} */
  @Override
  public boolean isBEREncodingRequired()
  {
    return false;
  }
  /**
   * {@inheritDoc}
   */
  /** {@inheritDoc} */
  @Override
  public boolean isHumanReadable()
  {