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

Jean-Noel Rouvignac
08.06.2015 b8c6b80da1cb6118167a934daa480eb381c59e0e
opendj-server-legacy/src/test/java/org/opends/server/extensions/SASLOverTLSTestCase.java
@@ -273,7 +273,9 @@
      Assert.assertTrue(Arrays.equals(jpegBytes, jpegBytes1));
    } finally {
      if(ctx != null)
      {
        ctx.close();
      }
    }
  }
@@ -313,7 +315,9 @@
      Assert.assertTrue(Arrays.equals(jpegBytes, jpegBytes1));
    } finally {
      if(ctx != null)
      {
        ctx.close();
      }
    }
  }
@@ -357,7 +361,9 @@
      ctx.modifyAttributes(testUserDN, mods);
    } finally {
      if (ctx != null)
      {
        ctx.close();
      }
    }
  }
@@ -396,7 +402,9 @@
      ctx.destroySubcontext(testUserDN);
    } finally {
      if(ctx != null)
      {
        ctx.close();
      }
    }
  }