mirror of
https://github.com/scm-manager/scm-manager.git
synced 2026-03-06 04:10:52 +01:00
fix possible NullPointerException
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user