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

Ludovic Poitou
26.28.2013 d0e8efc7290e815666b026a2d4ab44ab49d34ff1
Minor code & comment cleanup in the controlpanel code.
2 files modified
12 ■■■■■ changed files
opends/src/guitools/org/opends/guitools/controlpanel/ControlPanelLauncher.java 9 ●●●●● patch | view | raw | blame | history
opends/src/guitools/org/opends/guitools/controlpanel/datamodel/BaseDNDescriptor.java 3 ●●●● patch | view | raw | blame | history
opends/src/guitools/org/opends/guitools/controlpanel/ControlPanelLauncher.java
@@ -60,7 +60,7 @@
 */
public class ControlPanelLauncher
{
  static private ControlPanelArgumentParser argParser;
  static private ControlPanelArgumentParser  argParser;
  /** Prefix for log files. */
  static public final String LOG_FILE_PREFIX = "opendj-control-panel-";
@@ -159,7 +159,7 @@
   * worked (and the splash screen was displayed) we will never get out of it
   * (we will call a System.exit() when we close the graphical status dialog).
   *
   * @params String[] args the arguments used to call the
   * @param  args the arguments used to call the
   *         ControlPanelSplashScreen main method.
   * @return 0 if everything worked fine, or 1 if we could not display properly
   *         the ControlPanelSplashScreen.
@@ -194,9 +194,8 @@
            while (t != null)
            {
              StackTraceElement[] stack = t.getStackTrace();
              for (int i = 0; i < stack.length; i++)
              {
                buf.append(stack[i].toString()+"\n");
              for (StackTraceElement aStack : stack) {
                buf.append(aStack.toString()).append("\n");
              }
              t = t.getCause();
opends/src/guitools/org/opends/guitools/controlpanel/datamodel/BaseDNDescriptor.java
@@ -150,8 +150,7 @@
   */
  public int compareTo(BaseDNDescriptor desc)
  {
    int returnValue = -1;
    returnValue = desc.getDn().compareTo(getDn());
    int returnValue = desc.getDn().compareTo(getDn());
    if (returnValue == 0)
    {
      returnValue = getType().compareTo(desc.getType());