Skip to content

Commit

Permalink
OAK-5738: Potential NPE in LargeLdapProviderTest
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1783855 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
reschke committed Feb 21, 2017
1 parent b8b2c94 commit 8bae167
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,10 @@ public void after() throws Exception {
if (!USE_COMMON_LDAP_FIXTURE) {
LDAP_SERVER.tearDown();
}
idp.close();
idp = null;
if (idp != null) {
idp.close();
idp = null;
}
}

protected LdapIdentityProvider createIDP() {
Expand Down

0 comments on commit 8bae167

Please sign in to comment.