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/TelephoneNumberSyntax.java
@@ -61,20 +61,18 @@
  private static final LocalizedLogger logger = LocalizedLogger.getLoggerForThisClass();
  // Indicates whether this matching rule should operate in strict mode.
  /** Indicates whether this matching rule should operate in strict mode. */
  private boolean strictMode;
  // The default equality matching rule for this syntax.
  /** The default equality matching rule for this syntax. */
  private MatchingRule defaultEqualityMatchingRule;
  // The default substring matching rule for this syntax.
  /** The default substring matching rule for this syntax. */
  private MatchingRule defaultSubstringMatchingRule;
  // The current configuration for this telephone number syntax.
  /** The current configuration for this telephone number syntax. */
  private TelephoneNumberAttributeSyntaxCfg currentConfig;
  /**
   * 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
@@ -86,11 +84,7 @@
    super();
  }
  /**
   * {@inheritDoc}
   */
  /** {@inheritDoc} */
  public void initializeSyntax(TelephoneNumberAttributeSyntaxCfg configuration)
         throws ConfigException
  {
@@ -121,8 +115,6 @@
    }
  }
  /**
   * Performs any finalization that may be necessary for this attribute syntax.
   */
@@ -131,8 +123,6 @@
    currentConfig.removeTelephoneNumberChangeListener(this);
  }
  /**
   * Retrieves the common name for this attribute syntax.
   *
@@ -143,8 +133,6 @@
    return SYNTAX_TELEPHONE_NAME;
  }
  /**
   * Retrieves the OID for this attribute syntax.
   *
@@ -155,8 +143,6 @@
    return SYNTAX_TELEPHONE_OID;
  }
  /**
   * Retrieves a description for this attribute syntax.
   *
@@ -167,8 +153,6 @@
    return SYNTAX_TELEPHONE_DESCRIPTION;
  }
  /**
   * Retrieves the default equality matching rule that will be used for
   * attributes with this syntax.
@@ -182,8 +166,6 @@
    return defaultEqualityMatchingRule;
  }
  /**
   * Retrieves the default ordering matching rule that will be used for
   * attributes with this syntax.
@@ -198,8 +180,6 @@
    return null;
  }
  /**
   * Retrieves the default substring matching rule that will be used for
   * attributes with this syntax.
@@ -213,8 +193,6 @@
    return defaultSubstringMatchingRule;
  }
  /**
   * Retrieves the default approximate matching rule that will be used for
   * attributes with this syntax.
@@ -229,8 +207,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
@@ -319,8 +295,6 @@
    }
  }
  /**
   * Indicates whether the provided character is a valid separator for telephone
   * number components when operating in strict mode.
@@ -342,11 +316,7 @@
    }
  }
  /**
   * {@inheritDoc}
   */
  /** {@inheritDoc} */
  public boolean isConfigurationChangeAcceptable(
                      TelephoneNumberAttributeSyntaxCfg configuration,
                      List<LocalizableMessage> unacceptableReasons)
@@ -355,11 +325,7 @@
    return true;
  }
  /**
   * {@inheritDoc}
   */
  /** {@inheritDoc} */
  public ConfigChangeResult applyConfigurationChange(
              TelephoneNumberAttributeSyntaxCfg configuration)
  {
@@ -369,21 +335,13 @@
    return new ConfigChangeResult();
  }
  /**
   * {@inheritDoc}
   */
  /** {@inheritDoc} */
  public boolean isBEREncodingRequired()
  {
    return false;
  }
  /**
   * {@inheritDoc}
   */
  /** {@inheritDoc} */
  public boolean isHumanReadable()
  {
    return true;