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

Jean-Noël Rouvignac
20.48.2016 1523cc3a681e295fbbfa6c7043b70b00f535fb74
opendj-server-legacy/src/main/java/org/opends/server/tools/upgrade/UpgradeTasks.java
@@ -1405,9 +1405,21 @@
  {
    return new AbstractUpgradeTask()
    {
      private boolean shouldRunTask;
      @Override
      public void prepare(UpgradeContext context) throws ClientException
      {
        shouldRunTask = concatenatedSchemaFile.exists();
      }
      @Override
      public void perform(UpgradeContext context) throws ClientException
      {
        if (!shouldRunTask)
        {
          return;
        }
        final ProgressNotificationCallback pnc = new ProgressNotificationCallback(INFORMATION, getSummary(), 0);
        final File configFile = new File(configSchemaDirectory, "02-config.ldif");