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

Jean-Noel Rouvignac
26.06.2015 90ad56f8b049de96f33f71adf0b8927507458396
Fix checkstyle for r11987
3 files modified
13 ■■■■■ changed files
opendj-server-legacy/src/main/java/org/opends/server/api/Backend.java 4 ●●●● patch | view | raw | blame | history
opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/BackendImpl.java 3 ●●●● patch | view | raw | blame | history
opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/RootContainer.java 6 ●●●●● patch | view | raw | blame | history
opendj-server-legacy/src/main/java/org/opends/server/api/Backend.java
@@ -119,7 +119,6 @@
   *
   * @param  cfg          The configuration of this backend.
   * @param  serverContext The server context for this instance
   *
   * @throws  ConfigException
   *                      If there is an error in the configuration.
   */
@@ -141,7 +140,6 @@
   *                              reasons that the provided
   *                              configuration is not acceptable.
   * @param serverContext         this Directory Server instance's server context
   *
   * @return  {@code true} if the provided configuration is acceptable
   *          for this backend, or {@code false} if not.
   */
@@ -673,6 +671,8 @@
   *
   * @param rebuildConfig
   *          The rebuild configuration.
   * @param serverContext
   *          The server context for this instance
   * @throws ConfigException
   *           If an unrecoverable problem arises during initialization.
   * @throws InitializationException
opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/BackendImpl.java
@@ -788,7 +788,8 @@
      {
        rootContainer = initializeRootContainer();
      }
      final Importer importer = new Importer(rebuildConfig, (PersistitBackendCfg) cfg, serverContext); // FIXME JNR remove cast
      // FIXME JNR remove cast
      final Importer importer = new Importer(rebuildConfig, (PersistitBackendCfg) cfg, serverContext);
      importer.rebuildIndexes(rootContainer);
    }
    catch (ExecutionException execEx)
opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/RootContainer.java
@@ -314,11 +314,13 @@
    timerService.awaitTermination(20, TimeUnit.SECONDS);
  }
  private LDIFImportResult importLDIFWithOnDiskMerge(final LDIFImportConfig importConfig, ServerContext serverContext) throws DirectoryException
  private LDIFImportResult importLDIFWithOnDiskMerge(final LDIFImportConfig importConfig, ServerContext serverContext)
      throws DirectoryException
  {
    try
    {
      final Importer importer = new Importer(importConfig, (PersistitBackendCfg) config, serverContext); // TODO JNR remove cast
      // TODO JNR remove cast
      final Importer importer = new Importer(importConfig, (PersistitBackendCfg) config, serverContext);
      return importer.processImport(this);
    }
    catch (DirectoryException e)