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/JPEGSyntax.java
@@ -58,20 +58,18 @@
  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;
  // The default ordering matching rule for this syntax.
  /** The default ordering matching rule for this syntax. */
  private MatchingRule defaultOrderingMatchingRule;
  // The default substring matching rule for this syntax.
  /** The default substring matching rule for this syntax. */
  private MatchingRule defaultSubstringMatchingRule;
  // The current configuration for this JPEG syntax.
  /** The current configuration for this JPEG syntax. */
  private volatile JPEGAttributeSyntaxCfg config;
  /**
   * 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
@@ -83,11 +81,7 @@
    super();
  }
  /**
   * {@inheritDoc}
   */
  /** {@inheritDoc} */
  public void initializeSyntax(JPEGAttributeSyntaxCfg configuration)
         throws ConfigException
  {
@@ -116,8 +110,6 @@
    config.addJPEGChangeListener(this);
  }
  /**
   * Retrieves the common name for this attribute syntax.
   *
@@ -128,8 +120,6 @@
    return SYNTAX_JPEG_NAME;
  }
  /**
   * Retrieves the OID for this attribute syntax.
   *
@@ -140,8 +130,6 @@
    return SYNTAX_JPEG_OID;
  }
  /**
   * Retrieves a description for this attribute syntax.
   *
@@ -152,8 +140,6 @@
    return SYNTAX_JPEG_DESCRIPTION;
  }
  /**
   * Retrieves the default equality matching rule that will be used for
   * attributes with this syntax.
@@ -167,8 +153,6 @@
    return defaultEqualityMatchingRule;
  }
  /**
   * Retrieves the default ordering matching rule that will be used for
   * attributes with this syntax.
@@ -182,8 +166,6 @@
    return defaultOrderingMatchingRule;
  }
  /**
   * Retrieves the default substring matching rule that will be used for
   * attributes with this syntax.
@@ -197,8 +179,6 @@
    return defaultSubstringMatchingRule;
  }
  /**
   * Retrieves the default approximate matching rule that will be used for
   * attributes with this syntax.
@@ -213,8 +193,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
@@ -265,9 +243,7 @@
  }
  /**
   * {@inheritDoc}
   */
  /** {@inheritDoc} */
  public boolean isConfigurationChangeAcceptable(
                      JPEGAttributeSyntaxCfg configuration,
                      List<LocalizableMessage> unacceptableReasons)
@@ -276,11 +252,7 @@
    return true;
  }
  /**
   * {@inheritDoc}
   */
  /** {@inheritDoc} */
  public ConfigChangeResult applyConfigurationChange(
              JPEGAttributeSyntaxCfg configuration)
  {
@@ -289,21 +261,13 @@
  }
  /**
   * {@inheritDoc}
   */
  /** {@inheritDoc} */
  public boolean isBEREncodingRequired()
  {
    return false;
  }
  /**
   * {@inheritDoc}
   */
  /** {@inheritDoc} */
  public boolean isHumanReadable()
  {
    return false;