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

Violette Roche-Montane
24.38.2014 288f117ffff3921da19f509c13fca924797515bb
opendj3-server-dev/src/server/org/opends/server/tools/dsconfig/SetPropSubCommandHandler.java
@@ -293,8 +293,8 @@
        if (result.isQuit()) {
          if (!app.isMenuDrivenMode()) {
            // User chose to cancel any changes.
            LocalizableMessage msg = INFO_DSCFG_CONFIRM_MODIFY_FAIL.get(ufn);
            app.printVerboseMessage(msg);
            app.println();
            app.println(INFO_DSCFG_CONFIRM_MODIFY_FAIL.get(ufn));
          }
          return MenuResult.quit();
        } else if (result.isCancel()) {
@@ -311,8 +311,7 @@
          if (app.isVerbose() || app.isInteractive())
          {
            app.println();
            LocalizableMessage msg = INFO_DSCFG_CONFIRM_MODIFY_SUCCESS.get(ufn);
            app.printVerboseMessage(msg);
            app.println(INFO_DSCFG_CONFIRM_MODIFY_SUCCESS.get(ufn));
          }
          for (PropertyEditorModification<?> mod : editor.getModifications())
@@ -325,7 +324,7 @@
            {
              // This is a bug
              throw new RuntimeException(
                  "Unexpected error generating the command builder: "+ae, ae);
                  "Unexpected error generating the command builder: " + ae, ae);
            }
          }
@@ -752,8 +751,8 @@
    if (result.isQuit()) {
      if (!app.isMenuDrivenMode()) {
        // User chose to quit.
        LocalizableMessage msg = INFO_DSCFG_CONFIRM_MODIFY_FAIL.get(ufn);
        app.printVerboseMessage(msg);
        app.println();
        app.println(INFO_DSCFG_CONFIRM_MODIFY_FAIL.get(ufn));
      }
      return MenuResult.quit();
    } else if (result.isCancel()) {