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

jvergara
24.41.2007 74a8448e45dbeba4803e92851f8a3023e038509b
opends/src/statuspanel/org/opends/statuspanel/ui/LoginDialog.java
@@ -327,10 +327,9 @@
      public Object processBackgroundTask() throws NamingException
      {
        Boolean isServerRunning = Boolean.TRUE;
        InitialLdapContext ctx = null;
        try
        {
          InitialLdapContext ctx = null;
          String ldapUrl = getLDAPURL();
          if (ldapUrl != null)
@@ -369,6 +368,16 @@
        {
          throw new IllegalStateException("Unexpected throwable.", t);
        }
        if (ctx != null)
        {
          try
          {
            ctx.close();
          }
          catch (Throwable t)
          {
          }
        }
        return isServerRunning;
      }