Fix checkstyle for r11987
| | |
| | | * |
| | | * @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. |
| | | */ |
| | |
| | | * 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. |
| | | */ |
| | |
| | | * |
| | | * @param rebuildConfig |
| | | * The rebuild configuration. |
| | | * @param serverContext |
| | | * The server context for this instance |
| | | * @throws ConfigException |
| | | * If an unrecoverable problem arises during initialization. |
| | | * @throws InitializationException |
| | |
| | | { |
| | | 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) |
| | |
| | | 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) |