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

Jean-Noel Rouvignac
18.18.2015 2f6d798e90520dd1b83ac30e53838ae6fd41a150
opendj-server-legacy/src/main/java/org/opends/admin/ads/util/ConnectionUtils.java
@@ -226,12 +226,8 @@
          TrustedSocketFactory.setCurrentThreadTrustManager(fTrustManager,
              fKeyManager);
          pair[0] = new InitialLdapContext(fEnv, null);
        } catch (NamingException ne) {
        } catch (NamingException | RuntimeException ne) {
          pair[1] = ne;
        } catch (RuntimeException re) {
          pair[1] = re;
        }
      }
    });
@@ -279,12 +275,8 @@
                fKeyManager);
          }
          pair[0] = new InitialLdapContext(fEnv, fNewCtls);
        } catch (NamingException ne) {
        } catch (NamingException | RuntimeException ne) {
          pair[1] = ne;
        } catch (RuntimeException re) {
          pair[1] = re;
        }
      }
    });
@@ -399,14 +391,9 @@
            result.reconnect(null);
          }
          pair[0] = result;
        } catch (NamingException ne)
        } catch (NamingException | RuntimeException ne)
        {
          pair[1] = ne;
        } catch (RuntimeException re)
        {
          pair[1] = re;
        }
      }
    });