fix possible NullPointerException

This commit is contained in:
Sebastian Sdorra
2011-05-29 17:24:53 +02:00
parent bb9066ebda
commit 9b3937e39f

View File

@@ -132,8 +132,11 @@ public class ActiveDirectoryAuthenticationHandler implements
@Override
public void close() throws IOException
{
con.close();
con.dispose();
if ( con != null )
{
con.close();
con.dispose();
}
}
/**