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

jvergara
26.16.2007 59b4905a66a5db370e6d0de5f7cb6dcd314ef443
opends/src/quicksetup/org/opends/quicksetup/util/Utils.java
@@ -517,18 +517,17 @@
  public static String getStringFromCollection(Collection<String> col,
      String separator)
  {
    String msg = null;
    StringBuffer msg = new StringBuffer();
    for (String m : col)
    {
      if (msg == null)
      if (msg.length() > 0)
      {
        msg = m;
      } else
      {
        msg += separator + m;
        msg.append(separator);
      }
      msg.append(m);
    }
    return msg;
    return msg.toString();
  }
  /**
@@ -669,7 +668,7 @@
   * @param te the exception.
   * @return a localized representation of the provide TopologyCacheException.
   */
  public static String getStringRepresentation(TopologyCacheException te)
  public static Message getMessage(TopologyCacheException te)
  {
    MessageBuilder buf = new MessageBuilder();
@@ -690,7 +689,7 @@
      // This is unexpected.
      buf.append(getThrowableMsg(INFO_BUG_MSG.get(), te.getCause()));
    }
    return buf.toString();
    return buf.toMessage();
  }
  /**