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

Matthew Swift
01.26.2013 f91657f02d733c7d93f3a83de9e43bcf1612ca5b
opends/src/server/org/opends/server/tools/upgrade/ProgressNotificationCallback.java
@@ -55,7 +55,7 @@
   * @param progress
   *          An integer representing the percentage of the task's progress.
   */
  public ProgressNotificationCallback(final int messageType,
  ProgressNotificationCallback(final int messageType,
      final Message message, final int progress)
  {
    super(messageType, message.toString());
@@ -73,24 +73,13 @@
  }
  /**
   * Sets the percentage's progress.
   *
   * @param progress
   *          The percentage's progress.
   */
  public void setProgress(int progress)
  {
    this.progress = progress;
  }
  /**
   * Change the progress on an existing progress notification callback.
   *
   * @param progress
   *          The new value of the progress.
   * @return A progress Notification Callback
   */
  public ProgressNotificationCallback changeProgress(int progress)
  ProgressNotificationCallback setProgress(int progress)
  {
    this.progress = progress;
    return this;