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

jvergara
20.28.2007 f506a33548d1ae241fba8f4017a19f99512b13bb
Fix a copy paste typo that made that there was a duplicate replication error return code.
Eliminate some progress messages in resetGenerationId method.
2 files modified
15 ■■■■ changed files
opendj-sdk/opends/src/guitools/org/opends/guitools/replicationcli/ReplicationCliReturnCode.java 4 ●●●● patch | view | raw | blame | history
opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/installer/Installer.java 11 ●●●● patch | view | raw | blame | history
opendj-sdk/opends/src/guitools/org/opends/guitools/replicationcli/ReplicationCliReturnCode.java
@@ -158,13 +158,13 @@
  /**
   * Error initializing Administration Framework.
   */
  ERROR_INITIALIZING_ADMINISTRATION_FRAMEWORK(20,
  ERROR_INITIALIZING_ADMINISTRATION_FRAMEWORK(21,
      ERR_REPLICATION_NO_MESSAGE.get()),
  /**
   * Error seeding trustore.
   */
  ERROR_SEEDING_TRUSTORE(21, ERR_REPLICATION_NO_MESSAGE.get());
  ERROR_SEEDING_TRUSTORE(22, ERR_REPLICATION_NO_MESSAGE.get());
  private Message message;
opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/installer/Installer.java
@@ -3978,7 +3978,7 @@
                        ne), ne);
      }
    }
    resetGenerationId(ctx, suffixDn, true, sourceServerDisplay);
    resetGenerationId(ctx, suffixDn, sourceServerDisplay);
  }
  /**
@@ -4030,7 +4030,7 @@
  }
  private void resetGenerationId(InitialLdapContext ctx,
      String suffixDn, boolean displayProgress, String sourceServerDisplay)
      String suffixDn, String sourceServerDisplay)
  throws ApplicationException
  {
    boolean taskCreated = false;
@@ -4139,18 +4139,11 @@
                null);
            throw ae;
          }
          else if (displayProgress)
          {
            notifyListeners(getFormattedProgress(
                INFO_SUFFIX_INITIALIZED_SUCCESSFULLY.get()));
          }
        }
      }
      catch (NameNotFoundException x)
      {
        isOver = true;
        notifyListeners(getFormattedProgress(
            INFO_SUFFIX_INITIALIZED_SUCCESSFULLY.get()));
      }
      catch (NamingException ne)
      {