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

jvergara
31.56.2009 adf07a5ffea550ba4f24c27b155a6db295cb9668
Remove an unnecessary member from class ControlPanel.

Fix a small bug in StatusPanel that prevented to display an error message when the connection to the remote server failed.
2 files modified
6 ■■■■ changed files
opends/src/guitools/org/opends/guitools/controlpanel/ControlPanel.java 3 ●●●● patch | view | raw | blame | history
opends/src/guitools/org/opends/guitools/controlpanel/ui/StatusPanel.java 3 ●●●● patch | view | raw | blame | history
opends/src/guitools/org/opends/guitools/controlpanel/ControlPanel.java
@@ -56,7 +56,6 @@
  private JFrame dlg;
  private ControlPanelInfo info;
  private ControlCenterMainPane controlCenterPane;
  private MainMenuBar menuBar;
  /**
   * Main method that is used for testing purposes.  The control-panel
@@ -109,7 +108,7 @@
    if (info.getServerDescriptor() == null)
    {
      menuBar = new MainMenuBar(info);
      MainMenuBar menuBar = new MainMenuBar(info);
      // Assume that the user decided to quit the application
      menuBar.quitClicked();
    }
opends/src/guitools/org/opends/guitools/controlpanel/ui/StatusPanel.java
@@ -313,7 +313,8 @@
          mb.append("<br><br>"+getAuthenticateHTML());
        }
      }
      else if (desc.getStatus() == ServerDescriptor.ServerStatus.STARTED)
      else if (desc.getStatus() ==
        ServerDescriptor.ServerStatus.NOT_CONNECTED_TO_REMOTE)
      {
        mb.append("<br>");
        mb.append(INFO_CTRL_PANEL_CANNOT_CONNECT_TO_REMOTE_DETAILS.get(