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

Violette Roche-Montane
25.06.2013 0190fa66bcab9f911f23bf954eaa45f9af4aaa76
opends/src/server/org/opends/server/tools/upgrade/UpgradeCli.java
@@ -32,12 +32,7 @@
import static org.opends.server.util.StaticUtils.filterExitCode;
import static java.util.logging.Level.INFO;
import static java.util.logging.Level.SEVERE;
import static org.opends.server.tools.upgrade.
FormattedNotificationCallback.NOTICE_CALLBACK;
import static org.opends.server.tools.upgrade.
FormattedNotificationCallback.SUBTITLE_CALLBACK;
import static org.opends.server.tools.upgrade.
FormattedNotificationCallback.TITLE_CALLBACK;
import static org.opends.server.tools.upgrade.FormattedNotificationCallback.*;
import static org.opends.server.tools.upgrade.Upgrade.EXIT_CODE_ERROR;
import static org.opends.server.tools.upgrade.Upgrade.EXIT_CODE_SUCCESS;
@@ -427,6 +422,12 @@
        case NOTICE_CALLBACK:
          println(Style.NOTICE, Message.raw(fnc.getMessage()), 1);
          break;
        case ERROR_CALLBACK:
          println(Style.ERROR, Message.raw(fnc.getMessage()), 1);
          break;
        case BREAKLINE:
          println(Style.BREAKLINE, Message.raw(fnc.getMessage()), 1);
          break;
        default:
          LOG.log(SEVERE, "Unsupported message type: "
            + fnc.getMessage());