mirror of
https://github.com/scm-manager/scm-manager.git
synced 2026-06-09 13:50:04 +02: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