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

lutoff
03.08.2008 b3caa392606ce826dd09813c1e349cff9a741025
Fix for issue #3108 (restore: missing "task completed" ending message.)
2 files modified
15 ■■■■■ changed files
opends/src/messages/messages/tools.properties 4 ●●● patch | view | raw | blame | history
opends/src/server/org/opends/server/tools/tasks/TaskTool.java 11 ●●●●● patch | view | raw | blame | history
opends/src/messages/messages/tools.properties
@@ -2345,4 +2345,6 @@
INFO_INSTALLDS_CANCEL_1606=Cancel the setup
SEVERE_ERR_CONFIGDS_CANNOT_UPDATE_CRYPTO_MANAGER_1607=An error occurred while \
 attempting to update the crypto manager in the Directory Server: %s
INFO_TASK_TOOL_TASK_SUCESSFULL_1608=%s task %s has been successfully completed
INFO_TASK_TOOL_TASK_NOT_SUCESSFULL_1609=%s task %s has not complete \
 successfully
opends/src/server/org/opends/server/tools/tasks/TaskTool.java
@@ -437,8 +437,19 @@
          } while (!taskEntry.isDone());
          if (TaskState.isSuccessful(taskEntry.getTaskState())) {
            out.println(
                wrapText(INFO_TASK_TOOL_TASK_SUCESSFULL.get(
                        taskEntry.getType(),
                        taskEntry.getId()),
                MAX_LINE_WIDTH));
            return 0;
          } else {
            out.println(
                wrapText(INFO_TASK_TOOL_TASK_NOT_SUCESSFULL.get(
                        taskEntry.getType(),
                        taskEntry.getId()),
                MAX_LINE_WIDTH));
            return 1;
          }
        }