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

Jean-Noel Rouvignac
31.45.2014 d2bbac5c73611fbf1d2c9a767e1b9ad910996747
opendj3-server-dev/src/server/org/opends/server/tools/upgrade/UpgradeTasks.java
@@ -137,7 +137,7 @@
      public void perform(final UpgradeContext context) throws ClientException
      {
        final LocalizableMessage msg = INFO_UPGRADE_TASK_REPLACE_SCHEMA_FILE.get(fileName);
        logger.debug(LocalizableMessage.raw(msg.toString()));
        logger.debug(msg);
        final ProgressNotificationCallback pnc =
            new ProgressNotificationCallback(0, msg, 0);
@@ -753,7 +753,7 @@
            if (oldSnmpConfig.exists())
            {
              context.notifyProgress(pnc.setProgress(20));
              logger.debug(LocalizableMessage.raw(summary.toString()));
              logger.debug(summary);
              final File snmpConfig =
                  new File(UpgradeUtils.configSnmpSecurityDirectory,
@@ -863,7 +863,7 @@
    }
    if (ldif != null)
    {
      logger.debug(LocalizableMessage.raw(Arrays.asList(ldif).toString()));
      logger.debug(LocalizableMessage.raw(Arrays.toString(ldif)));
    }
  }
@@ -873,7 +873,7 @@
  {
    countErrors++;
    context.notifyProgress(pnc.setProgress(-100));
    logger.error(LocalizableMessage.raw(message.toString()));
    logger.error(message);
    if (!context.isIgnoreErrorsMode())
    {
      throw new ClientException(EXIT_CODE_ERROR, message);